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

Add workflow to initiate releases #13266

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

chrisroberts
Copy link
Member

@chrisroberts chrisroberts commented Oct 6, 2023

This workflow will update files in the repository for a new release. It
will:

  • Update version in version.txt, CHANGELOG.md, version.json, and LICENSE
  • Commit changes to main
  • Create new release tag
  • Generate a new development version string (patch incremented + .dev)
  • Update dev version in version.txt, CHANGELOG.md, and LICENSE
  • Commit changes to main
  • Push changes on main to origin
  • Push release tag to origin

This ensures all files are updated consistently and correctly. The
creation of the tag will then trigger the release workflow.

Also adds a helper script for generating license file content to be used for installers

This workflow will update files in the repository for a new release. It
will:

* Update version in version.txt, CHANGELOG.md, and LICENSE
* Commit changes to main
* Create new release tag
* Generate a new development version string (patch incremented + .dev)
* Update dev version in version.txt, CHANGELOG.md, and LICENSE
* Commit changes to main
* Push changes on main to origin
* Push release tag to origin

This ensures all files are updated consistently and correctly. The
creation of the tag will then trigger the release workflow.
@chrisroberts chrisroberts merged commit 519d519 into hashicorp:main Oct 9, 2023
11 checks passed
@chrisroberts chrisroberts deleted the release-helper branch October 9, 2023 21:54
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant