Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Oct 21, 2023
1 parent e05dcfc commit 550be13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ builds:
goarch: arm
main: goreleaser.go
hooks:
pre:
- /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
#pre:
# - /bin/sh -c "if [ ! -e ./goreleaser.go ]; then echo -e 'package main\\\nfunc main() { }' > ./goreleaser.go ; fi"
post:
- ./.goreleaser_hook.sh {{ .Arch }} {{ .Os }} {{ .ProjectName }}
checksum:
Expand Down
2 changes: 2 additions & 0 deletions goreleaser.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
package main
func main() { }

0 comments on commit 550be13

Please sign in to comment.