ReaderForSelfoss-multiplatform/version.sh

15 lines
207 B
Bash
Raw Normal View History

#!/bin/bash
2022-09-14 08:52:55 +00:00
echo "Creating tag $1"
2022-09-14 08:52:55 +00:00
TAG="v$1"
2022-09-14 09:50:08 +00:00
git tag -a ${TAG} -m ${TAG}
2022-09-14 08:38:03 +00:00
if [[ "$@" == *'--from-ci'* ]]
then
echo "Tag created. HANDLE IN CI"
else
echo "Pushing tag"
git push origin ${TAG}
fi