Skip to content

Commit

Permalink
Merge pull request #9 from bbkane/git-xargs/update-goreleasor-embedde…
Browse files Browse the repository at this point in the history
…d-version

Prefix goreleasor-embedded version with v
  • Loading branch information
bbkane authored Oct 23, 2023
2 parents 3c15fb4 + 7a4524c commit cfc11c0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ before:
- go mod download
# you may remove this if you don't need go generate
# - go generate ./...

builds:
- env:
- CGO_ENABLED=0
Expand All @@ -18,7 +17,7 @@ builds:
- amd64
# - i386 # does anyone care about i386?
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
- -s -w -X main.version=v{{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -X main.builtBy=goreleaser
checksum:
name_template: "checksums.txt"
changelog:
Expand All @@ -27,7 +26,6 @@ changelog:
exclude:
- "^docs:"
- "^test:"

# https://goreleaser.com/customization/homebrew/
brews:
- tap:
Expand All @@ -43,7 +41,6 @@ brews:
See https://www.macworld.com/article/3140183/how-to-install-an-app-in-macos-sierra-thats-not-signed-by-a-developer.html to work around that
homepage: "https://github.com/bbkane/starghaze"
description: "Save GitHub Starred Repo Information"

# https://goreleaser.com/customization/scoop/
scoop:
bucket:
Expand All @@ -53,4 +50,3 @@ scoop:
description: "Save information about your GitHub starred repos into Google Sheets, Zinc, and SQLite!"
homepage: "https://github.com/bbkane/starghaze"
license: MIT

0 comments on commit cfc11c0

Please sign in to comment.