This commit is contained in:
platane
2022-04-09 01:16:14 +02:00
parent faf76e6eb6
commit 4edf90f41b

View File

@@ -67,9 +67,9 @@ jobs:
git tag v$VERSION
git push origin master --tags
if [[ "$VERSION" =~ ^\d+\.\d+\.\d+$ ]] then
git tag --force v$( echo VERSION | cut -d. -f 1-1 )
git tag --force v$( echo VERSION | cut -d. -f 1-2 )
if [[ "$VERSION" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
git tag v$( echo $VERSION | cut -d. -f 1-1 )
git tag v$( echo $VERSION | cut -d. -f 1-2 )
git push origin --tags --force
echo ::set-output name=prerelease::false
else