You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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
|