mirror of
https://github.com/itzg/mc-router.git
synced 2025-11-18 06:24:54 +01:00
build: update gorelease config for version 2 (#401)
This commit is contained in:
parent
1ab789ae90
commit
f6300d6a8a
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -5,7 +5,8 @@ on:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
version: 2
|
||||
|
||||
project_name: mc-router
|
||||
release:
|
||||
github:
|
||||
@ -28,19 +30,12 @@ builds:
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
archives:
|
||||
- id: tar_gz
|
||||
format: tar.gz
|
||||
format_overrides:
|
||||
- format_overrides:
|
||||
- goos: windows
|
||||
format: zip
|
||||
formats: ['zip']
|
||||
files:
|
||||
- LICENSE*
|
||||
- README*
|
||||
snapshot:
|
||||
name_template: SNAPSHOT-{{ .ShortCommit }}
|
||||
brews:
|
||||
- install: |
|
||||
bin.install "mc-router"
|
||||
dockers:
|
||||
- image_templates:
|
||||
- "itzg/{{ .ProjectName }}:{{ .Version }}-amd64"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user