release guide

This commit is contained in:
nick black 2019-11-28 22:19:15 -05:00
parent 1df1d9f471
commit 17d7d8a8c5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
4 changed files with 21 additions and 2 deletions

19
doc/release-checklist.md Normal file
View File

@ -0,0 +1,19 @@
* Update version in CMakeLists.txt
* Finalize Debian changelog with `dch -r`
* git commit -a -m v$VERSION
* Tag with `git tag -a v$VERSION -m "v$VERSION"`
* `git push && git push origin --tags`
* 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
* Build new Debian package
* git clean -d -f -x
* `tar -cJf ../notcurses_$VERSION.orig.tar.xz --exclude=.git --exclude=debian -C.. notcurses-$VERSION`
* debuild
* Copy `../*notcurses*$VERSION*` to apt repo, import with `reprepro`
* Upload new AUR information
* Update `pkgver` and `sha256sums` entries
* `makepkg --printsrcinfo > .SRCINFO`
* Test that package builds with `makepkg`
* `git commit -a`
* Update Debian changelog with `dch -v $NEXTVERSION-1`

View File

Before

Width:  |  Height:  |  Size: 980 KiB

After

Width:  |  Height:  |  Size: 980 KiB

View File

@ -27,14 +27,14 @@ class LibavTest : public :: testing::Test {
}; };
TEST_F(LibavTest, LoadImage) { TEST_F(LibavTest, LoadImage) {
auto ncv = ncplane_visual_open(ncp_, "../tools/dsscaw-purp.png"); auto ncv = ncplane_visual_open(ncp_, "../tests/dsscaw-purp.png");
ASSERT_NE(nullptr, ncv); ASSERT_NE(nullptr, ncv);
ASSERT_NE(nullptr, ncvisual_decode(ncv)); ASSERT_NE(nullptr, ncvisual_decode(ncv));
ncvisual_destroy(ncv); ncvisual_destroy(ncv);
} }
TEST_F(LibavTest, LoadVideo) { TEST_F(LibavTest, LoadVideo) {
auto ncv = ncplane_visual_open(ncp_, "../tools/atliens.mkv"); auto ncv = ncplane_visual_open(ncp_, "../tests/atliens.mkv");
ASSERT_NE(nullptr, ncv); ASSERT_NE(nullptr, ncv);
ASSERT_NE(nullptr, ncvisual_decode(ncv)); ASSERT_NE(nullptr, ncvisual_decode(ncv));
ncvisual_destroy(ncv); ncvisual_destroy(ncv);