mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 12:38:08 +02:00
generate-version: Use day number instead of week number
Right now the version is generated from week number but that means more than one release in a week won't work. This commit changes it to day number.
This commit is contained in:
parent
897217ccc9
commit
93416bd5e6
1 changed files with 1 additions and 1 deletions
|
|
@ -21,4 +21,4 @@ fi
|
|||
# If it is from a git checkout, derive the version from the date of the last commit, and the number
|
||||
# of commits since the last release.
|
||||
COMMITS_SINCE_LAST_RELEASE=$(git rev-list $(git describe --abbrev=0)..HEAD --count)
|
||||
date +%y.%V.${COMMITS_SINCE_LAST_RELEASE} -d "@$(git log -1 --pretty=format:%ct)"
|
||||
date +%y.%j.${COMMITS_SINCE_LAST_RELEASE} -d "@$(git log -1 --pretty=format:%ct)"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue