mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-15 08:20:50 +00:00
13 lines
304 B
Bash
Executable File
13 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# A script to bump the version number on all Cargo.toml files etc in
|
|
# an atomic fashion.
|
|
|
|
if [ "$1" == "" ]; then
|
|
echo "Usage: version.sh <new-version-number>"
|
|
exit 1
|
|
fi
|
|
|
|
perl -p -i -e 's/version *= *"[0-9.]+" # LALRPOP$/version = "'$1'" # LALRPOP/' \
|
|
$(ls lalrpop*/Cargo.toml)
|