release.sh: search for OLDVERSION following sed

pull/587/head
nick black 4 years ago
parent 5d3d99c602
commit 52428b9f27
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -70,7 +70,6 @@ drop_bricks(struct notcurses* nc, struct ncplane** arr, int arrcount){
}
}while(rangee - ranges + 1 >= FALLINGMAX);
}
free(arr);
return 0;
}

@ -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

Loading…
Cancel
Save