Skip to content
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

chore/Add release script and update gha to pull the latest release vs tag #62

Merged
merged 3 commits into from
Dec 5, 2024

Conversation

jimid27
Copy link
Contributor

@jimid27 jimid27 commented Dec 5, 2024

@jimid27 jimid27 requested a review from a team as a code owner December 5, 2024 18:18
@@ -0,0 +1,46 @@
#!/usr/bin/env python3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when/how does this script get run

Copy link
Contributor Author

@jimid27 jimid27 Dec 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

locally similar to what we do for cloud releases

@@ -26,7 +26,7 @@ jobs:
else
echo "Tag ${MAJOR_VERSION} does not exist. Creating a new tag and release."
export RELEASE_SHA=$(git rev-parse HEAD)
gh release create "${MAJOR_VERSION}" --title "${MAJOR_VERSION}" --generate-notes --target "${RELEASE_SHA}" --latest
gh release create "${MAJOR_VERSION}" --title "${MAJOR_VERSION}" --generate-notes --target "${RELEASE_SHA}" --latest=false
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting latest to false so that the latest semver release is known to be the latest

@jimid27 jimid27 merged commit 34a2705 into main Dec 5, 2024
1 check passed
@jimid27 jimid27 deleted the chore/local-release-script branch December 5, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants