1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

readme: update for 2.2 release

version update: tweak script, ensure tag added after commit
This commit is contained in:
Ilya Kreymer 2019-02-27 16:06:33 -08:00
parent 21b5cf36b1
commit 4b5c397992
2 changed files with 12 additions and 5 deletions

View File

@ -1,4 +1,4 @@
Webrecorder pywb 2.1 Webrecorder pywb 2.2
==================== ====================
.. image:: https://travis-ci.org/webrecorder/pywb.svg?branch=master .. image:: https://travis-ci.org/webrecorder/pywb.svg?branch=master

View File

@ -1,9 +1,16 @@
#!/bin/bash #!/bin/bash
BASE=2.2 BASE=2.2
NOW=$(date +%Y%m%d) NOW=$(date +%Y%m%d)
sed -i='' -E "s/(__version__ = ').*$/\1$BASE.$NOW'/" ./pywb/version.py
git tag v-$BASE.$NOW TAG="$BASE.$NOW"
git commit -m "version: update to $BASE.$NOW" ./pywb/version.py
# Update
sed -i='' -E "s/(__version__ = ').*$/\1$TAG'/" ./pywb/version.py
git commit -m "version: update to $TAG" ./pywb/version.py
git push git push
git push origin v-$BASE.$NOW
# Tag
git tag v-$TAG
git push origin v-$TAG