-
Notifications
You must be signed in to change notification settings - Fork 1
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
build: Publish GitHub tag in release script #51
Conversation
2e7911d
to
50fb270
Compare
Looks great! Mind updating the release docs? |
50fb270
to
67af139
Compare
@@ -91,6 +96,14 @@ make VERSION=$RELEASE_VERSION GIT_COMMIT_HASH=$COMMIT_HASH build-archives | |||
LogStep "Building and pushing the image." | |||
make GIT_COMMIT_HASH=$COMMIT_HASH DOCKER_HUB_REPO=$DOCKER_HUB_REPO VERSION=$RELEASE_VERSION build-and-push-image | |||
|
|||
if IsProductionRelease |
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.
Added this flag to push tag only on production release
I updated this doc here, but the update was very small: #51 (comment) "After the release script finishes, create a GitHub release for the commit with the version as the tag (following the format v0.1.0). This tag was just pushed by the release script. Upload the archives created by the release script and write release notes." Bold = new stuff |
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 stuff!
Should we change L113 to say something to the effect of "select the tag with the release version"? It still kinda sounds like we're creating the tag alongside the release.
@@ -58,9 +63,9 @@ fi | |||
# exit 1 | |||
# fi | |||
|
|||
if [ "$DOCKER_HUB_REPO" == "$PRODUCTION_DOCKER_HUB_REPO" ] | |||
if IsProductionRelease |
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.
👌 ty for the fix
Description
As discussed in launch last Friday
Type of change
How Has This Been Tested?
Also
Commented parts of the script out to test IsProductionRelease