Add a GoReleaser build config (PIPT-12) #169
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/auth!169
Loading…
Reference in a new issue
No description provided.
Delete branch "PIPT-12-goreleaser"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/PIPT-12
Adds
.goreleaser.yaml(GoReleaser v2, build only) that builds what this repository releases today, asrelease.goTargetsin pipeline-templates'fleet.jsondefines it: the same programs per target,CGO_ENABLED=0,-trimpath,-s -w, and the same-Xstamps (version,buildRepo,buildServeronly when the suite setsVERSION,GITHUB_REPOSITORY,GITHUB_SERVER_URL;buildTimein the suite's millisecond ISO format), with binaries written flat intodist/under today's published names. Nothing runs it yet: the release suite still builds, and when it switches it keeps version numbering, upload, home-sync and pins.Verified on nelsonpc with GoReleaser 2.20.0:
goreleaser checkpasses andgoreleaser build --snapshot --clean --parallelism 4(GOMAXPROCS=4) produced exactly the file names the suite publishes today (all five targets).