diff --git a/.goreleaser.prerelease.yml b/.goreleaser.prerelease.yml index 391275c..04a72e7 100644 --- a/.goreleaser.prerelease.yml +++ b/.goreleaser.prerelease.yml @@ -1,3 +1,6 @@ +version: + name_template: "{{ if .Tag }}{{ .Tag }}+{{ end }}pre-{{ .ShortCommit }}" + builds: - main: ./cmd/client/main.go id: client @@ -38,11 +41,9 @@ checksum: - glob: ./dist/migrations.tar.gz archives: - - name_template: "{{ .ProjectName }}-v{{ .Version }}-PRERELEASE-{{ .Os }}-{{ .Arch }}" + - name_template: "{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}" release: - version: - name_template: "{{ if .Tag }}{{ .Tag }}+{{ end }}pre-{{ .ShortCommit }}" prerelease: true draft: true make_latest: false