update github action
Former-commit-id: f92a2be10d69b733c3652cad38443f9ddf17ac9b [formerly 77b83ba3600efb84856d4f7c1eb2dd50f0628e59] [formerly 325457981b884a8207c284f3819744337d485435 [formerly 550be13973c00b58d9b21af696e36de9a82a79b5]] Former-commit-id: 9217bf20e473bbbb96784561ba37377adcc88f0a [formerly f3f340f2161f25a46db5f63e53b975aa376c093c] Former-commit-id: de2b8d66d371e09e9f3902ad69c2a54054293c22 Former-commit-id: 90b95cd3774b772c8fcf72d16524751737c38708 Former-commit-id: bec71ca9a48e5e1ce061eee97d5301fa7cf54e22 Former-commit-id: 01a4a28e402e30ece4deb28e5f585521d2430c01 [formerly 0f776f45e3c6bdeef3640427053152dc1d0fa62a] Former-commit-id: 0d0405d673091298cbc8ccd15b957bb9a3c543e2
This commit is contained in:
parent
0973359ea3
commit
d9b7eee171
2 changed files with 4 additions and 2 deletions
|
@ -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:
|
||||
|
|
2
goreleaser.go
Normal file
2
goreleaser.go
Normal file
|
@ -0,0 +1,2 @@
|
|||
package main
|
||||
func main() { }
|
Loading…
Reference in a new issue