mirror of
https://github.com/jeessy2/ddns-go.git
synced 2025-10-20 07:23:47 +08:00
chore: simplify hooks command (#1372)
* chore: snapshot.name_template `snapshot.name_template` should not be used anymore, check https://goreleaser.com/deprecations#snapshotname_template for more info * chore: Use goreleaser to build a docker image * chore: simplify hooks command
This commit is contained in:
@ -48,7 +48,7 @@ builds:
|
||||
- -s -w -X main.version={{.Tag}} -X main.buildTime={{.Date}}
|
||||
hooks:
|
||||
post:
|
||||
- sh -c '[ ! -d "zoneinfo" ] && cp -r /usr/share/zoneinfo . || true'
|
||||
- sh -c 'test -d zoneinfo || cp -r /usr/share/zoneinfo .'
|
||||
|
||||
archives:
|
||||
# use zip for windows archives
|
||||
|
Reference in New Issue
Block a user