mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
9 lines
263 B
Bash
Executable file
9 lines
263 B
Bash
Executable file
CURRENT_VERSION=$(node -p "require('./package.json').version.replaceAll('-', '_')")
|
|
|
|
cd alterations
|
|
|
|
for x in next-*.ts;
|
|
do
|
|
[ -e "$x" ] || continue; # Skip when no file found (will still loop $x with "next-*.ts")
|
|
mv $x $CURRENT_VERSION$(echo ${x#next});
|
|
done
|