packer/scripts
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
..
build.ps1 refresh line endings 2019-05-17 14:58:20 -07:00
build.sh Add release build for darwin/arm64 (#10804) 2021-03-25 13:34:21 +01:00
codesign_example.sh reference main branch instead of master branch (#11652) 2022-03-10 16:07:02 +01:00
dist.sh Cut version 1.5.4 2020-02-14 16:14:01 -08:00
generate-plugins.go (2) Implement datasources (#10440) 2021-01-20 10:37:16 +01:00
off_gopath.sh change installation of pigeon if off gopath 2019-07-01 12:16:50 -07:00
prepare_changelog.sh Update python command for reading in pull.json 2022-08-09 21:01:51 -04:00
sign.sh Cut version 1.5.4 2020-02-14 16:14:01 -08:00
sort-md-list.py Update changelog scripts to work with Python3 2022-08-09 21:01:51 -04:00
upgrade_plugins.sh Remove Oracle plugin from the list of vendored plugins (#11983) 2022-09-15 12:31:52 -04:00
vagrant-freebsd-priv-config.sh vagrant: Correct name of vim package 2018-02-02 13:14:13 -06:00
vagrant-freebsd-unpriv-bootstrap.sh build: Allow multi-platform dev with Vagrantfile 2017-11-02 11:00:19 -07:00
vagrant-linux-priv-config.sh scripts: add gcc package for using gco on build 2018-10-31 16:58:07 +03:00
vagrant-linux-priv-go.sh scripts/vagrant: Update Vagrant bootstrapping scripts 2020-01-15 12:42:15 -05:00
vagrant-linux-unpriv-bootstrap.sh scripts/vagrant: Update Vagrant bootstrapping scripts 2020-01-15 12:42:15 -05:00