[PR #2415] [MERGED] add git hash to binary, print on startup #2655

Closed
opened 2025-12-29 03:22:13 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2415
Author: @kradalby
Created: 2/7/2025
Status: Merged
Merged: 2/7/2025
Merged by: @kradalby

Base: mainHead: kradalby/version-commit-on-startup


📝 Commits (2)

  • 58bf8a7 add git hash to binary, print on startup
  • 8d9332a update changelog

📊 Changes

9 files changed (+29 additions, -16 deletions)

View changed files

📝 .goreleaser.yml (+3 -1)
📝 CHANGELOG.md (+2 -0)
📝 Dockerfile.integration (+1 -1)
📝 cmd/headscale/cli/root.go (+3 -3)
📝 cmd/headscale/cli/version.go (+5 -3)
📝 docs/setup/install/source.md (+1 -1)
📝 flake.nix (+9 -6)
📝 hscontrol/app.go (+1 -1)
hscontrol/types/version.go (+4 -0)

📄 Description

No description provided


🔄 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/2415 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 2/7/2025 **Status:** ✅ Merged **Merged:** 2/7/2025 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `kradalby/version-commit-on-startup` --- ### 📝 Commits (2) - [`58bf8a7`](https://github.com/juanfont/headscale/commit/58bf8a75d2cecb64887952b0c1dac56585443638) add git hash to binary, print on startup - [`8d9332a`](https://github.com/juanfont/headscale/commit/8d9332a0bf84a1f7beac7be78b63a88549490d9f) update changelog ### 📊 Changes **9 files changed** (+29 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser.yml` (+3 -1) 📝 `CHANGELOG.md` (+2 -0) 📝 `Dockerfile.integration` (+1 -1) 📝 `cmd/headscale/cli/root.go` (+3 -3) 📝 `cmd/headscale/cli/version.go` (+5 -3) 📝 `docs/setup/install/source.md` (+1 -1) 📝 `flake.nix` (+9 -6) 📝 `hscontrol/app.go` (+1 -1) ➕ `hscontrol/types/version.go` (+4 -0) </details> ### 📄 Description _No description provided_ --- <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 03:22:13 +01:00
adam closed this issue 2025-12-29 03:22:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2655