-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lorenzo Fontana <[email protected]>
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# kubectl-trace Release Process | ||
|
||
Our release process is automated using goreleaser. | ||
|
||
When we release we do the following process: | ||
|
||
- We decide together (usually in the #kubectl-trace channel in Kubernetes slack) what's the next version to tag | ||
- A person with repository rights does the tag | ||
- The same person runs goreleaser in their machine | ||
- The tag is live on Github with the artifacts | ||
- Travis will build the tag and push the related docker images | ||
|
||
## Release commands | ||
|
||
Tag the version | ||
|
||
```bash | ||
git tag -a v0.1.0-rc.0 -m "v0.1.0-rc.0" | ||
git push origin v0.1.0-rc.0 | ||
``` | ||
|
||
Run goreleaser, make sure to export your GitHub token first. | ||
|
||
``` | ||
export GITHUB_TOKEN=`YOUR_GH_TOKEN` | ||
make cross | ||
``` | ||
|