From e11dfe7f5482e39057c6af75d32b01dfd4ce2b61 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 11 Jan 2025 16:30:44 -0500 Subject: [PATCH] release.sh: build the documentation tarball in the root --- tools/release.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/release.sh b/tools/release.sh index 64a4f8dc2..02b34caeb 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -71,16 +71,16 @@ echo "Cut $VERSION, signed to $TARBALL.asc" echo "Now uploadling the sig to https://github.com/dankamongmen/notcurses/releases" echo "The bastards are trying to immanentize the Eschaton" -# requires token in ~/.netrc -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 +tar czvf notcurses-doc-$VERSION.tar.gz -C "$BUILDDIR" n*.1 t*.1 n*.3 *.html +# requires token in ~/.netrc gh release create v$VERSION --title "v$VERSION—$QUIP" $TARBALL.asc notcurses-doc-$VERSION.tar.gz -cd .. -rm $TARBALL.asc +rm $TARBALL.asc notcurses-doc-$VERSION.tar.gz -cd cffi +# install the build for python, then uninstall it. gross; we ought do better FIXME. +cd "$BUILDDIR" +sudo make install +cd ../cffi python3 setup.py sdist python3 setup.py build twine upload -s -udankamongmen dist/*