mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-14 15:53:28 +01:00
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
17 lines
178 B
Bash
Executable File
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
|
|
|