mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
2d069cbebf
* refactor(schemas): auto update next alteration scripts * refactor(schemas): update eslint config * refactor(core): log when alteration is done
7 lines
172 B
Bash
Executable file
7 lines
172 B
Bash
Executable file
CURRENT_VERSION=$(node -p "require('./package.json').version.replaceAll('-', '_')")
|
|
|
|
cd alterations
|
|
|
|
for x in next-*.ts;
|
|
do mv $x $CURRENT_VERSION$(echo ${x#next});
|
|
done
|