From 52428b9f27868fd847adfa8fcf25549c3989d440 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 7 May 2020 01:37:52 -0400 Subject: [PATCH] release.sh: search for OLDVERSION following sed --- src/demo/fallin.c | 1 - tools/release.sh | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/demo/fallin.c b/src/demo/fallin.c index 3d43e5948..69fab701a 100644 --- a/src/demo/fallin.c +++ b/src/demo/fallin.c @@ -70,7 +70,6 @@ drop_bricks(struct notcurses* nc, struct ncplane** arr, int arrcount){ } }while(rangee - ranges + 1 >= FALLINGMAX); } - free(arr); return 0; } diff --git a/tools/release.sh b/tools/release.sh index a1a898112..25b771cd2 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -11,10 +11,13 @@ VERSION="$2" vi CHANGELOG.md -BUMP="CMakeLists.txt doc/Doxyfile doc/FreeBSD-Makefile doc/man/man*/* doc/man/index.html python/setup.py rust/*/Cargo.toml rust/libnotcurses-sys/build.rs tools/notcurses.spec" +git clean -f -d -x +BUMP="CMakeLists.txt doc/Doxyfile doc/FreeBSD-Makefile doc/man/man*/* doc/man/index.html python/setup.py rust/*/Cargo.toml rust/libnotcurses-sys/build.rs" for i in $BUMP ; do sed -i -e "s/$OLDVERSION/$VERSION/g" $i done +echo "Checking for instances of $OLDVERSION..." +grep -rF "$OLDVERSION" * git commit -a -m v$VERSION git push git pull