mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
fix(ci): goreleaser hooks only once
This commit is contained in:
parent
794ec2ab41
commit
38ab6adfa2
@ -2,6 +2,10 @@
|
||||
# for building binaries and packages for distributions and releasing on github
|
||||
dist: bin
|
||||
|
||||
before:
|
||||
hooks:
|
||||
- task compile
|
||||
|
||||
builds:
|
||||
- binary: semaphore
|
||||
main: ./cli/main.go
|
||||
@ -20,8 +24,8 @@ builds:
|
||||
ignore:
|
||||
- goos: darwin
|
||||
goarch: 386
|
||||
hooks:
|
||||
pre: task compile
|
||||
# hooks:
|
||||
# pre: task compile
|
||||
|
||||
archives:
|
||||
-
|
||||
@ -43,7 +47,7 @@ snapshot:
|
||||
name_template: "{{ .Timestamp }}-{{ .ShortCommit }}-SNAPSHOT"
|
||||
|
||||
nfpms:
|
||||
-
|
||||
-
|
||||
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||
|
||||
vendor: Castaway Consulting LLC
|
||||
|
@ -50,7 +50,7 @@ tasks:
|
||||
desc: Installs tools needed
|
||||
dir: web2
|
||||
vars:
|
||||
GORELEASER_VERSION: "0.67.0"
|
||||
GORELEASER_VERSION: "0.159.0"
|
||||
GOLINTER_VERSION: "1.31.0"
|
||||
cmds:
|
||||
- go install github.com/cespare/reflex
|
||||
|
Loading…
Reference in New Issue
Block a user