ReaderforSelfoss/version.sh

12 lines
180 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# You can pass --force as first parameter to force push and tag creation.
2018-05-25 20:47:36 +00:00
echo "Creating tag $@"
2018-05-26 08:51:11 +00:00
TAG="v$@"
git tag ${TAG}
echo "Pushing tag"
2018-05-26 08:51:11 +00:00
git push origin ${TAG}