mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 08:04:49 +01:00
17 lines
178 B
Bash
17 lines
178 B
Bash
|
#!/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
|
||
|
|