1
0
Fork 0
mirror of synced 2024-06-14 16:34:32 +12:00

also add version egg info to git commits

This commit is contained in:
Nick Sweeting 2020-08-18 02:14:18 -04:00
parent 8f7ee58a3c
commit b5745d5b6c

View file

@ -46,10 +46,6 @@ echo "[*] Bumping VERSION from $OLD_VERSION to $NEW_VERSION"
echo "$NEW_VERSION" > "$VERSION_FILE"
git add "$DIR/docs"
git add "$VERSION_FILE"
git commit -m "$NEW_VERSION release"
git tag -a "v$NEW_VERSION" -m "v$NEW_VERSION"
git push origin master
git push origin --tags
echo "[*] Cleaning up build dirs"
cd "$DIR"
@ -58,6 +54,13 @@ rm -Rf build dist
echo "[+] Building sdist and bdist_wheel"
python3 setup.py sdist bdist_wheel
echo "[^] Pushing source to github"
git add "$DIR/archivebox.egg-info"
git commit -m "$NEW_VERSION release"
git tag -a "v$NEW_VERSION" -m "v$NEW_VERSION"
git push origin master
git push origin --tags
echo "[^] Uploading to test.pypi.org"
python3 -m twine upload --repository testpypi dist/*