1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-22 22:32:19 +01:00
pywb/update-version.sh

9 lines
194 B
Bash
Raw Normal View History

#!/bin/bash
BASE=2.2
NOW=$(date +%Y%m%d)
sed -i='' -E "s/(__version__ = ').*$/\1$BASE.$NOW'/" ./pywb/version.py
git tag v-$BASE.$NOW
git commit ./pywb/version.py
git push origin v-$BASE.$NOW