mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
10 lines
238 B
Bash
Executable File
10 lines
238 B
Bash
Executable File
#!/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 -m "version: update to $BASE.$NOW" ./pywb/version.py
|
|
git push
|
|
git push origin v-$BASE.$NOW
|