From 62f43a9886f5a71d2098cf8c184bd14ae425b220 Mon Sep 17 00:00:00 2001 From: drjaska Date: Thu, 18 May 2023 07:24:24 +0300 Subject: [PATCH] sort git tags by version sort just in case --- qcsrc/tools/git-progs-pk3packer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/tools/git-progs-pk3packer.sh b/qcsrc/tools/git-progs-pk3packer.sh index 67447d4b2..5223b7ecd 100755 --- a/qcsrc/tools/git-progs-pk3packer.sh +++ b/qcsrc/tools/git-progs-pk3packer.sh @@ -99,7 +99,7 @@ printf "%s\n" "$HASH" > progs.txt # find list of edited cfg files since last stable release # this doesn't handle deleted files and they will not be overridden. FIXME? -EDITEDCFGS="$(git diff --name-status -w "$(git tag | tail -n 1)" | grep "\.cfg$" | cut -d "$(printf '\t')" -f 2)" +EDITEDCFGS="$(git diff --name-status -w "$(git tag | sort -V | tail -n 1)" | grep "\.cfg$" | cut -d "$(printf '\t')" -f 2)" # try to include list of all changes in the package if [ "$BRANCH" = "headless" ] -- 2.39.2