-
Notifications
You must be signed in to change notification settings - Fork 7
/
.release.yml
32 lines (31 loc) · 1.12 KB
/
.release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
release: "github"
github:
repo: "go-semantic-release"
user: "nightapes"
commitFormat: angular
branch:
master: release
beta: beta
assets:
- name: ./build/go-semantic-release.linux_x86_64
compress: true
- name: ./build/go-semantic-release.windows_i386.exe
compress: true
- name: ./build/go-semantic-release.windows_x86_64.exe
compress: true
- name: ./build/go-semantic-release.darwin_x86_64
compress: true
changelog:
docker:
latest: true
repository: "nightapes/go-semantic-release"
showAuthors: true
hooks:
preRelease:
- docker build -t nightapes/go-semantic-release:latest .
- docker tag nightapes/go-semantic-release:latest docker.pkg.github.com/nightapes/go-semantic-release/go-semantic-release:$RELEASE_VERSION
- docker tag nightapes/go-semantic-release:latest nightapes/go-semantic-release:$RELEASE_VERSION
postRelease:
- docker push nightapes/go-semantic-release:latest
- docker push nightapes/go-semantic-release:$RELEASE_VERSION
- docker push docker.pkg.github.com/nightapes/go-semantic-release/go-semantic-release:$RELEASE_VERSION