mirror of
https://github.com/opentofu/setup-opentofu.git
synced 2026-11-26 18:30:54 +01:00
893 B
893 B
Releasing
Releases are made on a reasonably regular basis by the maintainers. The following notes are only relevant to maintainers.
Release process:
-
Create a PR against
mainwith the following changes:- Update the version in
package.json:npm version patch|minor|major --no-git-tag-version - Run the build to update the
dist/directory:npm run build
- Update the version in
-
Review and merge the PR.
-
Create and publish a GitHub release with tag
vX.Y.Z, using the auto-generated release notes as the release body. -
Update the rolling major version tag to point to the new release:
git tag -f v2 vX.Y.Z git push --force origin v2This allows users to pin to
opentofu/setup-opentofu@v2and always get the latest version of the rolling tag.