-
Notifications
You must be signed in to change notification settings - Fork 492
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
ci: add release workflow for 1.x #1444
ci: add release workflow for 1.x #1444
Conversation
.github/workflows/release.yml
Outdated
required: true | ||
default: false | ||
description: Dry run, will not push branches or upload the artifacts. | ||
pre_release: |
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.
For now, this needs to always be true
or we will accidentally replace the "production" release on npm with the 1.x release. We can decide when we want to do that, but for now at least default to true, and possibly force it to true.
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.
Good point. I think the condition I've added will always publish with the --next
flag and never without the --next
flag.
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.
I'd be a lot more comfortable if we just removed this for now. Is there a reason to leave it in?
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.
Good point, I've tried to make the changes as small as possible but you are very right, removing the risk completely is way better.
I've changed it to remove the input and all references/steps we do not want to tigger.
One comment releated to the |
39cc5f1
to
4522bbf
Compare
I wanted to publish a new release for kubernetes-client#1398 but it seems like the workflow is only available on the master branch thus it means it can not get executed in the release-1.x branch. Porting over the file and use latest node LTS in the setup-node action.
4522bbf
to
84d5280
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brendandburns, mstruebing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I wanted to publish a new release for #1398 but it seems like the workflow is only available on the master branch thus it means it can not get executed in the release-1.x branch. Porting over the file and use latest node LTS in the setup-node action.