fix version when compiled at a specific commit #1551

Closed
opened 2026-04-06 02:00:29 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @tessus on 7/4/2023

When a specific commit is checked out from the main branch, the vaultwarden version is reported as vaultwarden x.y.z-githash (HEAD). This is a problem, because the admin interface reports this as a version from a branch called HEAD, while in reality the commit was from the main branch.

*Originally created by @tessus on 7/4/2023* When a specific commit is checked out from the main branch, the vaultwarden version is reported as `vaultwarden x.y.z-githash (HEAD)`. This is a problem, because the admin interface reports this as a version from a branch called HEAD, while in reality the commit was from the main branch.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1551