mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #3240] [CLOSED] Version string verbosity #3248
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3248
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/3240
Author: @strump
Created: 2/11/2023
Status: ❌ Closed
Base:
main← Head:main📝 Commits (1)
7d7da92Last tag is now optional. Timestamp is added to version string.📊 Changes
1 file changed (+19 additions, -4 deletions)
View changed files
📝
build.rs(+19 -4)📄 Description
Build script doesn't produce version string if no git history is available.
Steps to reproduce:
git clone --depth 1 https://github.com/dani-garcia/vaultwarden.gitdocker build --build-arg DB=sqlite -f docker/amd64/Dockerfile -t vaultwarden:local .docker run -it --rm vaultwarden:localActual result: no version information in output
After this PR:
Description:
Four types of version string are generated in build.rs:
{last_tag}-{rev_short} {commit_time}main-{rev_short} {commit_time}{last_tag}-{rev_short} ({branch}) {commit_time}{rev_short} ({branch}) {commit_time}🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.