mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-18 03:25:55 +00:00
release.sh: search for OLDVERSION following sed
This commit is contained in:
parent
5d3d99c602
commit
52428b9f27
@ -70,7 +70,6 @@ drop_bricks(struct notcurses* nc, struct ncplane** arr, int arrcount){
|
|||||||
}
|
}
|
||||||
}while(rangee - ranges + 1 >= FALLINGMAX);
|
}while(rangee - ranges + 1 >= FALLINGMAX);
|
||||||
}
|
}
|
||||||
free(arr);
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -11,10 +11,13 @@ VERSION="$2"
|
|||||||
|
|
||||||
vi CHANGELOG.md
|
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
|
for i in $BUMP ; do
|
||||||
sed -i -e "s/$OLDVERSION/$VERSION/g" $i
|
sed -i -e "s/$OLDVERSION/$VERSION/g" $i
|
||||||
done
|
done
|
||||||
|
echo "Checking for instances of $OLDVERSION..."
|
||||||
|
grep -rF "$OLDVERSION" *
|
||||||
git commit -a -m v$VERSION
|
git commit -a -m v$VERSION
|
||||||
git push
|
git push
|
||||||
git pull
|
git pull
|
||||||
|
Loading…
Reference in New Issue
Block a user