[PR #2770] [MERGED] cli: use gobuild version handling #2850

Closed
opened 2025-12-29 04:19:19 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2770
Author: @kradalby
Created: 9/10/2025
Status: Merged
Merged: 9/12/2025
Merged by: @kradalby

Base: mainHead: kradalby/go-124-version-bin


📝 Commits (1)

  • e8626d1 cli: use gobuild version handling

📊 Changes

5 files changed (+89 additions, -15 deletions)

View changed files

📝 .goreleaser.yml (+0 -4)
📝 cmd/headscale/cli/root.go (+4 -3)
📝 cmd/headscale/cli/version.go (+5 -4)
📝 hscontrol/app.go (+2 -1)
📝 hscontrol/types/version.go (+78 -3)

📄 Description

this commit removes the old burnin of
commit and version and makes it so we use the
new go build version handling. This makes it
easier to track what commits people use when building locally.

Fixes #2399


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2770 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 9/10/2025 **Status:** ✅ Merged **Merged:** 9/12/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/go-124-version-bin` --- ### 📝 Commits (1) - [`e8626d1`](https://github.com/juanfont/headscale/commit/e8626d1c64cca965ba47242fca842e2ec15aa8b2) cli: use gobuild version handling ### 📊 Changes **5 files changed** (+89 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser.yml` (+0 -4) 📝 `cmd/headscale/cli/root.go` (+4 -3) 📝 `cmd/headscale/cli/version.go` (+5 -4) 📝 `hscontrol/app.go` (+2 -1) 📝 `hscontrol/types/version.go` (+78 -3) </details> ### 📄 Description this commit removes the old burnin of commit and version and makes it so we use the new `go build` version handling. This makes it easier to track what commits people use when building locally. Fixes #2399 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 04:19:19 +01:00
adam closed this issue 2025-12-29 04:19:21 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2850