mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-12 01:45:56 -05:00
[PR #3651] [MERGED] fix version when compiled at a specific commit #6962
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/3651
Author: @tessus
Created: 7/4/2023
Status: ✅ Merged
Merged: 7/5/2023
Merged by: @dani-garcia
Base:
main← Head:fix/branch-on-HEAD📝 Commits (1)
2b32b6ffix version when compiled at a specific commit📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
build.rs(+1 -1)📄 Description
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.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.