-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: Set client version for non-release binaries and version in guix based on git tags #5653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0460ec8
247856c
fc97a2e
09c4d29
d0b3e25
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,10 +5,6 @@ git_root() { | |
| } | ||
|
|
||
| git_head_version() { | ||
| local recent_tag | ||
| if recent_tag="$(git describe --exact-match HEAD 2> /dev/null)"; then | ||
| echo "${recent_tag#v}" | ||
| else | ||
| git rev-parse --short=12 HEAD | ||
| fi | ||
| recent_tag="$(git describe --abbrev=12 --dirty 2> /dev/null)" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is This string should be reproducable at any system/git status because it is included in binaries.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should be identical (assuming 12 digits is enough)
https://www.git-scm.com/docs/git-describe#Documentation/git-describe.txt---abbrevltngt |
||
| echo "${recent_tag#v}" | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dropping the RC here? Ah, rc is purely based on tag now