-
Notifications
You must be signed in to change notification settings - Fork 106
Release process
Alex Hung edited this page Feb 16, 2022
·
2 revisions
There are 2 ways to create a release for Terraform Artifactory provider:
- Automated via Make file command
- 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.
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.
- Refresh local
master
branchgit fetch origin
git pull
- Tag
master
branch and push toorigin
git tag vX.Y.Z
git push --tags