From 5654184f13e6940cb6d416eee34148b4a0a7c971 Mon Sep 17 00:00:00 2001 From: Aaron Lichtman Date: Thu, 11 Jul 2024 19:41:46 -0700 Subject: [PATCH] Build script tinkering --- scripts/release.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 51d0cf78..8ac738b2 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -48,8 +48,7 @@ github_changelog_generator --user alichtman --project shallow-backup git add CHANGELOG.md && git commit -m "Add CHANGELOG for $SB_VERSION" && git push echo "Generating distribution files..." rm -rf dist/* && python3 setup.py sdist -echo "Creating GH release..." -echo "$SB_VERSION" -gh release create "$SB_VERSION" dist/shallow-backup-$SB_VERSION_NO_V.tar.gz -F CHANGELOG.md +echo "Creating GH release for $SB_VERSION..." +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/*