Skip to content

Commit

Permalink
release.sh: search for OLDVERSION following sed
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed May 7, 2020
1 parent 5d3d99c commit 52428b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/demo/fallin.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ drop_bricks(struct notcurses* nc, struct ncplane** arr, int arrcount){
}
}while(rangee - ranges + 1 >= FALLINGMAX);
}
free(arr);
return 0;
}

Expand Down
5 changes: 4 additions & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 52428b9

Please sign in to comment.