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:
parent
21b5cf36b1
commit
4b5c397992
@ -1,4 +1,4 @@
|
||||
Webrecorder pywb 2.1
|
||||
Webrecorder pywb 2.2
|
||||
====================
|
||||
|
||||
.. image:: https://travis-ci.org/webrecorder/pywb.svg?branch=master
|
||||
|
@ -1,9 +1,16 @@
|
||||
#!/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
|
||||
|
||||
TAG="$BASE.$NOW"
|
||||
|
||||
# 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 origin v-$BASE.$NOW
|
||||
|
||||
# Tag
|
||||
git tag v-$TAG
|
||||
git push origin v-$TAG
|
||||
|
Loading…
x
Reference in New Issue
Block a user