Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed Oct 9, 2023
1 parent 8606083 commit f7703af
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ git add CHANGELOG.md && git commit -m "Add CHANGELOG for $SB_VERSION" && git pus
echo "Generating distribution files..."
rm -rf dist/* && python3 setup.py sdist
echo "Creating GH release..."
set +x
echo "$SB_VERSION"
gh release create "shallow-backup $SB_VERSION" "dist/shallow-backup-$SB_VERSION_NO_V.tar.gz" --notes "shallow-backup $SB_VERSION"
set -x
gh release create "$SB_VERSION" dist/shallow-backup-$SB_VERSION_NO_V.tar.gz -F CHANGELOG.md
echo "Uploading to pypi..."
twine upload --repository pypi dist/*

0 comments on commit f7703af

Please sign in to comment.