Skip to content

Release process

Alex Hung edited this page Feb 16, 2022 · 2 revisions

There are 2 ways to create a release for Terraform Artifactory provider:

  1. Automated via Make file command
  2. Manual with git tag

After the tag is pushed to GitHub, a GitHub Action kicks off and build all the binaries for supported architectures, then uploads them to Terraform registry.

Automated

The make release command will automatically bump the patch version of the last git tag and push the tag to GitHub. This doesn't work if you want to bump Major or Minor version.

$ make release

If the latest git tag is v2.17.0, this will increment the version to v2.17.1 and tag the repo.

Manual

  • Refresh local master branch
    • git fetch origin
    • git pull
  • Tag master branch and push to origin
    • git tag vX.Y.Z
    • git push --tags
Clone this wiki locally