-
Notifications
You must be signed in to change notification settings - Fork 938
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
Release CLI Fixes #490
Conversation
This reverts commit dd4ab71.
There was a problem hiding this 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
scripts/release/utils/git.js
Outdated
await git.add('*/package.json'); | ||
await git.commit( | ||
releaseType === 'Staging' ? 'Publish Prerelease' : 'Publish' | ||
await exec('git add */package.json'); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(tags)
There was a problem hiding this comment.
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.
Fixes some issues/deficiencies in the release CLI
--follow-tags
wasn't functioning as expected