mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-06 07:58:10 +02:00
Merge branch 'date-order' into 'main'
generate-version: Specify options before format See merge request plymouth/plymouth!377
This commit is contained in:
commit
8535dc5956
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.%j.${COMMITS_SINCE_LAST_RELEASE} -d "@$(git log -1 --pretty=format:%ct)"
|
||||
date -d "@$(git log -1 --pretty=format:%ct)" +%y.%j.${COMMITS_SINCE_LAST_RELEASE}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue