Work on release process.

pull/780/head
Fredrik Öhrström 2022-12-29 16:45:13 +01:00
rodzic 554a669599
commit 45a68ba26d
3 zmienionych plików z 10 dodań i 2 usunięć

Wyświetl plik

@ -5,7 +5,8 @@ on:
branches:
- 'master'
tags:
- '*.*.*'
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+RC[0-9]+'
jobs:
docker:

Wyświetl plik

@ -5,7 +5,8 @@ on:
branches:
- 'master'
tags:
- '*.*.*'
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+RC[0-9]+'
jobs:
build-and-release:

Wyświetl plik

@ -64,6 +64,12 @@ fi
RC_VERSION="$MAJOR.$MINOR.$PATCH-RC$RC"
if [ git tag "$RC_VERSION" | grep -q "$RC_VERSION" ]
then
echo "Oups! The tag $RC_VERSION already exists! Please remove it!"
exit 0
fi
MESSAGE="Version $RC_VERSION $(date +'%Y-%m-%d')"
echo