Skip to content

Commit

Permalink
release.sh: build the documentation tarball in the root
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed Jan 11, 2025
1 parent fb02ba1 commit e11dfe7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand Down

0 comments on commit e11dfe7

Please sign in to comment.