ReaderForSelfoss-multiplatform/version.sh
aminecmi 2a9b31222b
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
Fix version.
2022-09-14 10:52:55 +02:00

15 lines
197 B
Bash
Executable File

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