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

[workspace] add workflow job to automate Teraslice releases #3895

Merged
merged 8 commits into from
Jan 13, 2025

Conversation

busma13
Copy link
Contributor

@busma13 busma13 commented Jan 9, 2025

This PR makes the following changes:

  • Add a new job to the publish-master.yml workflow called create-release-on-teraslice-bump. It first uses semver-compare-cli to check if the version of Teraslice in the root package.json is greater than it was in the previous master branch. If it has then the softprops/action-gh-release@v2 action creates a release. As with a manual release, the publish-tag.yml workflow will automatically run when the release is created.
  • Add a test to ensure the teraslice version and root package.json version stay in sync.

TODO: Should we bump teraslice just to make the new workflow job run?

ref: #1502

@busma13 busma13 changed the title [workspace] add release automation to publish-master.yml workflow [workspace] add workflow job to automate Teraslice releases Jan 9, 2025
@busma13 busma13 marked this pull request as ready for review January 10, 2025 14:28
@busma13 busma13 marked this pull request as draft January 10, 2025 16:21
@busma13 busma13 marked this pull request as ready for review January 10, 2025 21:14
@busma13 busma13 requested review from godber and sotojn January 10, 2025 21:15
@godber godber merged commit f8c508a into master Jan 13, 2025
47 checks passed
@godber godber deleted the automate-release branch January 13, 2025 21:26
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.

2 participants