Skip to content

Commit

Permalink
goreleaser: use defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Oct 27, 2024
1 parent 89d8dfd commit 0e524ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,7 @@ archives:
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'

brews:
-
description: "define simple completions using a spec file"
Expand Down
2 changes: 1 addition & 1 deletion cmd/carapace-spec/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var commit, date string
var version = "develop"

func main() {
if strings.HasSuffix(version, "-next") {
if strings.Contains(version, "SNAPSHOT") {
version += fmt.Sprintf(" (%v) [%v]", date, commit)
}
cmd.Execute(version)
Expand Down

0 comments on commit 0e524ee

Please sign in to comment.