1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-14 15:53:28 +01:00
pywb/update-tag.sh
Ilya Kreymer a4027c7904
Switch back to Semver for 2.3.0 (#488)
versioning: switch back to semver for 2.3.0, manual version updates
- rename update-version.sh -> update-tag.sh to push tag for existing versions
- bump version to 2.3.0 for release
2019-07-09 19:29:52 -07:00

17 lines
178 B
Bash
Executable File

#!/bin/bash
VERSION=$(python ./pywb/version.py)
TAG=v-$VERSION
echo "Committing Tag $TAG"
if [ "$1" != "commit" ]; then
exit 0
fi
# Tag
git tag $TAG
git push origin $TAG