Fix esbuild and snapshot versioning in goreleaser

snapshots are now "jfa-go_git-<commit>..." instead of
"jfa-go_v0.0.0...".
This commit is contained in:
Harvey Tindall
2020-10-22 17:57:05 +01:00
parent 301f502052
commit 9d62b70daa
3 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ before:
- python3 scss/compile.py
- python3 mail/generate.py
- python3 version.py {{.Version}} version.go
- bash -c 'npx esbuild ts/* --outdir=data/static --minify'
- bash -c 'npx esbuild ts/*.ts ts/modules/*.ts --outdir=data/static --minify'
- go get -u github.com/swaggo/swag/cmd/swag
- swag init -g main.go
builds:
@@ -44,7 +44,7 @@ archives:
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-testing"
name_template: "git-{{.ShortCommit}}"
changelog:
sort: asc
filters: