mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
* versioning: new MAJ.MIN.DATE versioning move version to version.py for easier updates add update-version.sh for autoupdating version in version.py, pushing new tag with current version
9 lines
194 B
Bash
Executable File
9 lines
194 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 ./pywb/version.py
|
|
git push origin v-$BASE.$NOW
|