build: update gorelease config for version 2 (#401)

This commit is contained in:
Geoff Bourne 2025-04-27 13:48:49 -05:00 committed by GitHub
parent 1ab789ae90
commit f6300d6a8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 10 deletions

View File

@ -5,7 +5,8 @@ on:
branches:
- master
pull_request:
branches: [ master ]
branches:
- master
jobs:
build:

View File

@ -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"