Skip to content

Commit

Permalink
chore: simplify hooks command (#1372)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PairZhu authored Jan 18, 2025
1 parent 7cdbf87 commit 215dbdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 215dbdd

Please sign in to comment.