mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-06 03:20:26 +00:00
1.9 KiB
1.9 KiB
- clang-tidy check with something like:
cmake "-DCMAKE_CXX_CLANG_TIDY=/usr/bin/clang-tidy-11;-checks=-*,clang-analyzer-*,modernize-*,performance-*" ..
scan-build cmake .. && scan-build make
- Run tools/release.sh $OLDVERSION $VERSION
- Finalize CHANGELOG.md
- Bumps version numbers everywhere they need bumping
- Commits changes, tags result with v$VERSION, pushes tag
- Downloads new tarball and signs it
- Upload signature to github
- Draft new release at https://github.com/dankamongmen/notcurses/releases
- Title is "v$VERSION—some quip"
- That's an em dash (U+2014, UTF-8 e2 80 94), get it right
- In gbp repository:
- Update Debian changelog, if necessary:
dch -v $VERSION+dfsg.1-1
- Finalize Debian changelog with
dch -r
- Repack DFSG-safe tarball with uscan, upload to github
uscan --repack --compression xz --force
gpg --sign --armor --detach-sign notcurses_$VERSION+dfsg.1.orig.tar.xz
- sign, upload dfsg+sig to github
- import new version:
gbp import-orig ../notcurses_$VERSION+dfsg.1.orig.tar.xz
git push --tags
- build source package:
dpkg-buildpackage --build=source
- build binaries:
cd .. && sudo pbuilder build *dsc
- Update Debian changelog, if necessary:
- Copy
../*notcurses*$VERSION*
to apt repo, import withreprepro
- Upload new AUR information
- Update
pkgver
andsha256sums
entries makepkg --printsrcinfo > .SRCINFO
- Test that package builds with
makepkg
git commit -a
- Update
- Upload new Rust crate with
cargo publish
- Upload new Python pip with
python3 setup.py sdist
twine upload dist/*
- Generate and upload new HTML documentation via
make html
scp *.html ../doc/man/index.html qemfd.net:/var/www/notcurses/
- Generate and upload new Doxygen documentation via
doxygen ../doc/Doxyfile
scp -r html qemfd.net:/var/www/notcurses/
- Update Debian changelog with
dch -v $NEXTVERSION-1
- Update CMakeLists.txt with next version