mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
Revert packr change as not even legacy mode works properly
This commit is contained in:
parent
eb63de4e9a
commit
1a7d61a57b
@ -53,7 +53,7 @@ tasks:
|
||||
GORELEASER_VERSION: "0.159.0"
|
||||
GOLINTER_VERSION: "1.46.2"
|
||||
cmds:
|
||||
- go install github.com/gobuffalo/packr/v2@latest
|
||||
- go install github.com/gobuffalo/packr/...@v1.10.4
|
||||
- go install github.com/snikch/goodman/cmd/goodman@latest
|
||||
- go install github.com/go-swagger/go-swagger/cmd/swagger@latest
|
||||
- '{{ if ne OS "windows" }} sh -c "curl -L https://github.com/goreleaser/goreleaser/releases/download/v{{ .GORELEASER_VERSION }}/goreleaser_$(uname -s)_$(uname -m).tar.gz | tar -xz -C $(go env GOPATH)/bin goreleaser"{{ else }} {{ end }}'
|
||||
@ -99,7 +99,7 @@ tasks:
|
||||
cmds:
|
||||
- mkdir -p web2/dist
|
||||
- go run util/version_gen/generator.go {{ if .TAG }}{{ .TAG }}{{ else }}{{ if .SEMAPHORE_VERSION }}{{ .SEMAPHORE_VERSION }}{{ else }}{{ .BRANCH }}-{{ .SHA }}-{{ .TIMESTAMP }}{{ if .DIRTY }}-dirty{{ end }}{{ end }}{{end}}
|
||||
- packr2 --legacy
|
||||
- packr
|
||||
vars:
|
||||
TAG:
|
||||
sh: git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null | sed -n 's/^\([^^~]\{1,\}\)\(\^0\)\{0,1\}$/\1/p'
|
||||
|
Loading…
Reference in New Issue
Block a user