build: update gorelease config for version 2 (#401)
This commit is contained in:
@@ -5,7 +5,8 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
+4
-9
@@ -1,3 +1,5 @@
|
|||||||
|
version: 2
|
||||||
|
|
||||||
project_name: mc-router
|
project_name: mc-router
|
||||||
release:
|
release:
|
||||||
github:
|
github:
|
||||||
@@ -28,19 +30,12 @@ builds:
|
|||||||
env:
|
env:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
archives:
|
archives:
|
||||||
- id: tar_gz
|
- format_overrides:
|
||||||
format: tar.gz
|
|
||||||
format_overrides:
|
|
||||||
- goos: windows
|
- goos: windows
|
||||||
format: zip
|
formats: ['zip']
|
||||||
files:
|
files:
|
||||||
- LICENSE*
|
- LICENSE*
|
||||||
- README*
|
- README*
|
||||||
snapshot:
|
|
||||||
name_template: SNAPSHOT-{{ .ShortCommit }}
|
|
||||||
brews:
|
|
||||||
- install: |
|
|
||||||
bin.install "mc-router"
|
|
||||||
dockers:
|
dockers:
|
||||||
- image_templates:
|
- image_templates:
|
||||||
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
|
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
|
||||||
|
|||||||
Reference in New Issue
Block a user