ReaderForSelfoss-multiplatform/version.sh
aminecmi 065b59eb7b
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Tag.
2022-09-14 11:50:08 +02:00

15 lines
207 B
Bash
Executable File

#!/bin/bash
echo "Creating tag $1"
TAG="v$1"
git tag -a ${TAG} -m ${TAG}
if [[ "$@" == *'--from-ci'* ]]
then
echo "Tag created. HANDLE IN CI"
else
echo "Pushing tag"
git push origin ${TAG}
fi