Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/publish-git-remote-entire.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
go-version-file: go.mod

# GoReleaser refuses to run untagged. The tag is local to the
# runner, never pushed, and deliberately not stamped into the
# binary (see the ldflags note in .goreleaser.nonprod.yaml).
# runner and never pushed.
- name: Make a throwaway tag
run: git tag --force v0.0.0

Expand Down
4 changes: 1 addition & 3 deletions .goreleaser.nonprod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ builds:
- arm64
ldflags:
- -s -w
# No Version stamp: the workflow's throwaway v0.0.0 tag would be
# stamped verbatim. versioninfo.Load() falls back to build info,
# so the binary still self-reports the commit it was built from.
- -X github.com/entireio/cli/cmd/entire/cli/versioninfo.Version=0.0.0+{{.FullCommit}}
- -X github.com/entireio/cli/cmd/entire/cli/versioninfo.Commit={{.ShortCommit}}

archives:
Expand Down
Loading