Skip to content

Release CLI Fixes #490

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

Merged
merged 10 commits into from
Feb 5, 2018
Merged

Release CLI Fixes #490

merged 10 commits into from
Feb 5, 2018

Conversation

jshcrowthe
Copy link
Contributor

Fixes some issues/deficiencies in the release CLI

  1. Fixes an issue where --follow-tags wasn't functioning as expected
  2. Added some flags to skip various parts of the build process

Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a couple of nits

await git.add('*/package.json');
await git.commit(
releaseType === 'Staging' ? 'Publish Prerelease' : 'Publish'
await exec('git add */package.json');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revise the input args to this function. It doesn't look like releaseType is used any more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!!

'--follow-tags': null,
'--no-verify': null
});
exports.pushUpdatesToGithub = async tags => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(tags)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is more of a style thing. As it is not specified by prettier I'm going to leave as is.

@hiranya911 hiranya911 assigned jshcrowthe and unassigned hiranya911 Feb 5, 2018
@jshcrowthe jshcrowthe merged commit 2db58a0 into master Feb 5, 2018
@jshcrowthe jshcrowthe deleted the release-cli-fixes branch February 5, 2018 23:40
@firebase firebase locked and limited conversation to collaborators Oct 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants