diff --git a/scripts/generate-version.sh b/scripts/generate-version.sh index c61cb54d..8ad6e2a3 100755 --- a/scripts/generate-version.sh +++ b/scripts/generate-version.sh @@ -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)"