Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Latest commit

 

History

History
52 lines (33 loc) · 1.42 KB

RELEASING.md

File metadata and controls

52 lines (33 loc) · 1.42 KB

Steps to Release

We're following a semantic versioning approach.

Create a Release PR

Include all the meaningful changes since the last release into the CHANGELOG.md file.

Please visit Keep a Changelog for information on why and how changelogs should be kept.

Merge Release PR

Verify that the acceptance test suite has passed for the release PR, then merge the PR.

Tag the release

git tag -am "terraform-provider-gorillastack_vX.Y.Z release" vX.Y.Z
git push --tags

Goreleaser

We run goreleaser via travis, this should run against master on commit. Here is how to run it manually:

GITHUB_TOKEN=xxx goreleaser release --rm-dist

See the release in Github

You can find the releases in Github, e.g. v0.1.0.

Configuring travisci

To add/update build environment vars to the .travis.yml file, please utilize the travis cli tool.

gem install travis

Next, sign in to travis using your github token. (Note, the token only needs privileges to retrieve your email address).

travis login --github-token <token> --org

Next, encrypt some env vars and add automatically to the .travis.yml file

travis encrypt --org --add env.global EXAMPLE_VAR=jeff_goldblum

Finally, commit and push the changes.