mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-14 15:53:28 +01:00
Switch back to Semver for 2.3.0 (#488)
versioning: switch back to semver for 2.3.0, manual version updates - rename update-version.sh -> update-tag.sh to push tag for existing versions - bump version to 2.3.0 for release
This commit is contained in:
parent
11610f6e04
commit
a4027c7904
@ -13,6 +13,7 @@ pywb 2.3.x changelist
|
|||||||
- Fixes to ``this`` proxy rewrite to include ``, this``
|
- Fixes to ``this`` proxy rewrite to include ``, this``
|
||||||
|
|
||||||
* Misc Changes:
|
* Misc Changes:
|
||||||
|
- Versioning: switched back to semver to more easily keep track of versions (#488)
|
||||||
- Improved handling of open http connections and file handles (#463)
|
- Improved handling of open http connections and file handles (#463)
|
||||||
- Fixes for latest urllib3, not verifying SSL certs (#467), (#469)
|
- Fixes for latest urllib3, not verifying SSL certs (#467), (#469)
|
||||||
- Better logging for invalid cdxlines and cookies (#477), (#478)
|
- Better logging for invalid cdxlines and cookies (#477), (#478)
|
||||||
|
@ -1 +1,4 @@
|
|||||||
__version__ = '2.3.0.dev0'
|
__version__ = '2.3.0'
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
print(__version__)
|
||||||
|
16
update-tag.sh
Executable file
16
update-tag.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/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
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
BASE=2.2
|
|
||||||
|
|
||||||
NOW=$(date +%Y%m%d)
|
|
||||||
|
|
||||||
VERSION="$BASE.$NOW"
|
|
||||||
|
|
||||||
# Update
|
|
||||||
echo "Updating version to $VERSION"
|
|
||||||
sed -i='' -E "s/(__version__ = ').*$/\1$VERSION'/" ./pywb/version.py
|
|
||||||
|
|
||||||
if [ "$1" != "commit" ]; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
TAG=v-$VERSION
|
|
||||||
|
|
||||||
echo "Committing Tag $TAG"
|
|
||||||
|
|
||||||
git commit -m "version: update to $VERSION" ./pywb/version.py
|
|
||||||
git push
|
|
||||||
|
|
||||||
# Tag
|
|
||||||
git tag $TAG
|
|
||||||
git push origin $TAG
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user