mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 06:33:18 +02:00
also add version egg info to git commits
This commit is contained in:
@@ -46,10 +46,6 @@ echo "[*] Bumping VERSION from $OLD_VERSION to $NEW_VERSION"
|
|||||||
echo "$NEW_VERSION" > "$VERSION_FILE"
|
echo "$NEW_VERSION" > "$VERSION_FILE"
|
||||||
git add "$DIR/docs"
|
git add "$DIR/docs"
|
||||||
git add "$VERSION_FILE"
|
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"
|
echo "[*] Cleaning up build dirs"
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
@@ -58,6 +54,13 @@ rm -Rf build dist
|
|||||||
echo "[+] Building sdist and bdist_wheel"
|
echo "[+] Building sdist and bdist_wheel"
|
||||||
python3 setup.py sdist 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"
|
echo "[^] Uploading to test.pypi.org"
|
||||||
python3 -m twine upload --repository testpypi dist/*
|
python3 -m twine upload --repository testpypi dist/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user