-
Notifications
You must be signed in to change notification settings - Fork 66
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
GHA to create tag/release #437
base: master
Are you sure you want to change the base?
Conversation
Can you give some background on the savings here on starting a GH workflow vs publishing release in GH? |
5d836bc
to
bddfbea
Compare
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.
As mentioned at temporalio/api-go#170 (review), I am a bit concerned about the maintenance of these two workflows for such an incredibly simple thing, but if y'all are resolving to maintain them and are now in full control of the release process of this and the API repo, ok.
bddfbea
to
d0cd2bf
Compare
d0cd2bf
to
2cab9a7
Compare
tag: | ||
description: "Tag for new version (v1.23.4)" | ||
required: true | ||
create_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.
We should always require a release IMHO, it's part of our release process.
base_tag: | ||
description: "Base tag to generate commit list for release notes" | ||
required: false | ||
skip_sdk_check: |
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 shouldn't be allowed.
if [[ "${TAG}" =~ ^v.* ]]; then | ||
echo "tag=${TAG}" >> "$GITHUB_OUTPUT" | ||
else | ||
echo "tag=v${TAG}" >> "$GITHUB_OUTPUT" |
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.
Don't do this, let users provide the proper version and avoid surprises.
What changed?
GHA to create tag and release.
Added an option to trigger workflow in api-go to create a release.
Why?
Automation.
Breaking changes
Server PR