Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip open if program not found #1142

Closed
smashah opened this issue Dec 4, 2020 · 3 comments
Closed

Skip open if program not found #1142

smashah opened this issue Dec 4, 2020 · 3 comments
Labels
PRIORITY Fast track for BMAC Members only.

Comments

@smashah
Copy link
Member

smashah commented Dec 4, 2020

At the moment if I run the program with popup enabled but without a valid chrome instance installed on the machine, it will result in an error.

If the open command results in an error, ignore it and change qrpopuponly to true (i.e the program will not wait for a socket connection to continue to the next task.

@owa-gh-bot owa-gh-bot bot added the PRIORITY Fast track for BMAC Members only. label Dec 4, 2020
@smashah
Copy link
Member Author

smashah commented Dec 5, 2020

@github-actions run

⚡ Release! ⚡
(async () => {
function exec(cmd) {
  console.log(execSync(cmd).toString());
}

// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";

exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i`);
exec(`npm run release-ci`);

//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();

    await postComment(result);

//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
  })();

@smashah
Copy link
Member Author

smashah commented Dec 5, 2020

Changelog

🚀 Release 3.1.4 (2020-12-05)

@smashah
Copy link
Member Author

smashah commented Dec 5, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PRIORITY Fast track for BMAC Members only.
Projects
None yet
Development

No branches or pull requests

1 participant