Skip to content

Commit

Permalink
add release instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Dolitsky <[email protected]>
  • Loading branch information
jdolitsky committed Dec 27, 2018
1 parent 2bd9147 commit a6eaed3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
builds:
- main: ./cmd/oras
binary: ./bin/oras
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- amd64

archive:
format: tar.gz
files:
- LICENSE
13 changes: 13 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Developer Guide

## Cutting a new release

Use [goreleaser](https://goreleaser.com/):

Example of releasing `v0.1.0`:
```
git tag -a v0.1.0 -m "Release v0.1.0"
git push origin v0.1.0
goreleaser
```

0 comments on commit a6eaed3

Please sign in to comment.