Skip to content

Commit 994b874

Browse files
committed
Update release script
1 parent 0f47693 commit 994b874

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ release: test
1414
# Update source files and commit
1515
echo 'Creating release commit...'
1616
git grep --cached -z -l '' | xargs -0 sed -E -i '' -e \
17-
"s@( rev: | entry: $(_IMAGE_NAME):)$$(git tag | tail -1)@\1${V}@g"
17+
"s@( rev: | entry: $(_IMAGE_NAME):)$$(git tag | sort -V | tail -1)@\1${V}@g"
1818
git add -A
1919
git commit -m "Release ${V}" -n
2020

0 commit comments

Comments
 (0)