Commit graph

8 commits

Author SHA1 Message Date
Lucas Bajolet
361a432eac version: bump main to 1.12.0-dev
Since we released 1.11.0 today, we need to have main point to the next
minor release of Packer so CI succeeds, otherwise we get an unexpected
output for the version being out-of-date.
2024-05-31 15:17:52 -04:00
Lucas Bajolet
f05124e2a4 version: set version to 1.11.0-dev
Since we set the raw version string from version/VERSION now, we change
its information to point to 1.11.0-dev until we're ready to release.
2024-04-16 10:19:17 -04:00
Wilken Rivera
c138ce533e Revert "Bumped product version to 1.12.0."
This reverts commit cc22e282ac.
The action successfully works now for the future release branch.
2023-11-10 16:32:19 -05:00
hc-github-team-packer
cc22e282ac Bumped product version to 1.12.0. 2023-11-10 16:29:36 -05:00
Wilken Rivera
ebc1317307 Bumped product version to 1.11.0. 2023-11-10 11:39:23 -05:00
Lucas Bajolet
ac29a1366b version: prepare for 1.10.0 releases 2023-05-31 11:50:56 -04:00
Wilken Rivera
b986a7c948 Bump development version to 1.9.0
Stable releases for 1.8.x will be made off of the release/1.8.x branch.
Main will represent the next minor version. When ready for a release a new release branch will
be created for the version.
2023-02-08 11:17:54 -05:00
claire labry
0d94e7d753
Introduce action-set-product-version for Packer (#12135)
This change introduces the new actions-set-product-version, a tiny, but mighty, GitHub action that acts as a bridge between the product repo and our new CRT feature: automated version bumping.

tl;dr automated version bumping has a new command (bob update version) in the bob CLI that automatically bumps the version to a new patch. This automation has been introduced to crt-workflows-common as a new workflow (with the new bob command) and handles version bumping at the end of the release pipeline (after being released to production); for example, 1.0.0→1.0.1 and 1.0.0-dev→1.0.0. Bumping the minor version (ie 1.0.x→1.1.0) is only supported manually via bob update version -bump minor, but not supported in CRT (this work is upcoming). This is made possible by adding the new event “bump-version” in the ci.hcl file in this PR.

What this small action does:

    Allows for the static version string from the version/VERSION file to be read by the new CRT workflow and automagically be bumped to the next version (whether it be a minor, or patch, or major version bump).
    Outputs an error if there’s no VERSION file in the version dir
    Outputs an error if there’s no version string in the VERSION file
    Is able to parse product_version if it is 1.3.0-alpha1 as 1.3.0 (example: when product_version = 1.3.0-alpha1, base_version = 1.3.0)
    Is able to parse prerelease product versions such as alpha1 (example prerelease_product_version = alpha1) in the statement above.
2023-01-19 14:02:09 -05:00