Skip to content

Commit

Permalink
rewrite tools/release.sh to use gh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dankamongmen committed Jan 9, 2025
1 parent 0b53931 commit e0461a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down

0 comments on commit e0461a8

Please sign in to comment.