diff --git a/bin/release.sh b/bin/release.sh index 4cb2021d..7f5a7db4 100755 --- a/bin/release.sh +++ b/bin/release.sh @@ -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/*