kopia lustrzana https://github.com/weetmuts/wmbusmeters
Work on release process.
rodzic
554a669599
commit
45a68ba26d
|
@ -5,7 +5,8 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
tags:
|
tags:
|
||||||
- '*.*.*'
|
- '[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
- '[0-9]+.[0-9]+.[0-9]+RC[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
|
|
@ -5,7 +5,8 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
tags:
|
tags:
|
||||||
- '*.*.*'
|
- '[0-9]+.[0-9]+.[0-9]+'
|
||||||
|
- '[0-9]+.[0-9]+.[0-9]+RC[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-release:
|
build-and-release:
|
||||||
|
|
|
@ -64,6 +64,12 @@ fi
|
||||||
|
|
||||||
RC_VERSION="$MAJOR.$MINOR.$PATCH-RC$RC"
|
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')"
|
MESSAGE="Version $RC_VERSION $(date +'%Y-%m-%d')"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Ładowanie…
Reference in New Issue