mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
also add version egg info to git commits
This commit is contained in:
parent
8f7ee58a3c
commit
b5745d5b6c
1 changed files with 7 additions and 4 deletions
|
@ -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/*
|
||||
|
||||
|
|
Loading…
Reference in a new issue