From 93a709c565b8ca53dba99f3db24c5925ac584ae0 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 19 Jan 2023 21:37:24 +0100 Subject: [PATCH] pull before release --- scripts/release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release.sh b/scripts/release.sh index 435ff3e..6825e43 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,5 +1,6 @@ #!/bin/bash +git pull --rebase last_patch=$(git tag | sort -V | tail -n1 | cut -d "." -f3) git tag "1.0.$((last_patch + 1))" git push gitlab main -o ci.skip