Skip to content

Commit

Permalink
docs: release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tmountain committed Jan 6, 2021
1 parent 9347fab commit 8be1f6f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Build directories
bin/
dist/

# Dependency directories (remove the comment below to include it)
arch/
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ before:
builds:
- env:
- CGO_ENABLED=0
main: ./cmd/uchess/main.go
goos:
- linux
- windows
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ build: tidy

release:
rm -rf dist && goreleaser

release_test:
rm -rf dist && goreleaser --snapshot --skip-publish --rm-dist
12 changes: 12 additions & 0 deletions docs/release.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Process for a release is as follows:

GoReleaser will use the latest Git tag of your repository. Create a tag and push it to GitHub:

git tag -a v0.1.0 -m "First release"
git push origin v0.1.0

Then run:

make release

Release notes can be edited on Github.

0 comments on commit 8be1f6f

Please sign in to comment.