0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/schemas/update-next.sh

8 lines
172 B
Bash
Raw Normal View History

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