Skip to content

Commit

Permalink
Build script tinkering
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed Jul 12, 2024
1 parent df219ff commit 5654184
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

0 comments on commit 5654184

Please sign in to comment.