Skip to content

Commit a6eaed3

Browse files
committed
add release instructions
Signed-off-by: Josh Dolitsky <jdolitsky@gmail.com>
1 parent 2bd9147 commit a6eaed3

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.goreleaser.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
builds:
2+
- main: ./cmd/oras
3+
binary: ./bin/oras
4+
env:
5+
- CGO_ENABLED=0
6+
goos:
7+
- darwin
8+
- linux
9+
- windows
10+
goarch:
11+
- amd64
12+
13+
archive:
14+
format: tar.gz
15+
files:
16+
- LICENSE

BUILDING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Developer Guide
2+
3+
## Cutting a new release
4+
5+
Use [goreleaser](https://goreleaser.com/):
6+
7+
Example of releasing `v0.1.0`:
8+
```
9+
git tag -a v0.1.0 -m "Release v0.1.0"
10+
git push origin v0.1.0
11+
goreleaser
12+
```
13+

0 commit comments

Comments
 (0)