-
Notifications
You must be signed in to change notification settings - Fork 945
Update release script with skipPrompts option #6294
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
Conversation
|
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
@@ -116,6 +103,19 @@ jobs: | |||
NPM_TOKEN_APP_CHECK_COMPAT: ${{ secrets.NPM_TOKEN_APP_CHECK_COMPAT }} | |||
NPM_TOKEN_API_DOCUMENTER: ${{ secrets.NPM_TOKEN_API_DOCUMENTER }} | |||
CI: true | |||
- name: Get release version | |||
id: get-version | |||
# STAGING_VERSION = version with staging hash, e.g. 1.2.3-20430523 |
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.
Do you want to keep these comments in here?
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.
Yep! So we know what those variables are supposed to be.
Size Report 1Affected ProductsNo changes between base commit (36dbcc3) and merge commit (20cb0ad).Test Logs |
Size Analysis Report 1Affected ProductsNo changes between base commit (36dbcc3) and merge commit (20cb0ad).Test Logs |
In order to run the release script in CI, it needs to skip the interactive prompts. Added a
skipPrompts
flag to the command to allow this.Also the package.json isn't updated until after this script has run, so moved the step that gets the release version from the package.json to after the release script step.