rewrite tools/release.sh to use gh

rather than a python program which continuously
breaks on me, use gh, which is distributed in
debian and seems to work pretty well.

closes #2830.
This commit is contained in:
nick black 2025-01-09 03:33:03 -05:00
parent 0b53931c79
commit e0461a8249
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -72,15 +72,15 @@ echo "Now uploadling the sig to https://github.com/dankamongmen/notcurses/releas
echo "The bastards are trying to immanentize the Eschaton"
# requires token in ~/.netrc
github-release dankamongmen/notcurses create v$VERSION --name "v$VERSION$QUIP" --publish $TARBALL.asc
rm $TARBALL.asc
cd "$BUILDDIR"
sudo make install
# restrict to files beginning with n* to leave out shared objects
tar czvf notcurses-doc-$VERSION.tar.gz n*.1 t*.1 n*.3 *.html
github-asset dankamongmen/notcurses upload v$VERSION notcurses-doc-$VERSION.tar.gz
cd ../cffi
gh release create v$VERSION --title "v$VERSION$QUIP" $TARBALL.asc notcurses-doc-$VERSION.tar.gz
cd ..
rm $TARBALL.asc
cd cffi
python3 setup.py sdist
python3 setup.py build
twine upload -s -udankamongmen dist/*