- Install dependencies:
make deps
- Update the release history in
CHANGELOG.md
:- Change "Unreleased" to the current release version and date.
- Create empty "Unreleased" section.
- Add proper link to the new release (at the bottom of the file). Use GitHub compare feature between two tags.
- Update "Unreleased" link (at the bottom of the file).
- Run linters:
make lint
- Run tests:
export B2_TEST_APPLICATION_KEY=your_app_key
export B2_TEST_APPLICATION_KEY_ID=your_app_key_id
make testacc
- Update docs:
make docs
- Commit and push to GitHub, then wait for CI workflow to complete successfully.
- No need to make a branch. Push straight to
master
.
- No need to make a branch. Push straight to
- Tag in git and push tag to
origin
. (Version tags look likev0.4.6
.)git tag vx.x.x
git push origin vx.x.x
- Wait for CD workflow to complete successfully.
- Verify that the GitHub release is created
- Verify that the release has been uploaded to the Terraform Registry