mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix: handle versioning when no next-*.ts
found (#2202)
This commit is contained in:
parent
79c6c1de93
commit
61336dfbc8
1 changed files with 3 additions and 1 deletions
|
@ -3,5 +3,7 @@ CURRENT_VERSION=$(node -p "require('./package.json').version.replaceAll('-', '_'
|
|||
cd alterations
|
||||
|
||||
for x in next-*.ts;
|
||||
do mv $x $CURRENT_VERSION$(echo ${x#next});
|
||||
do
|
||||
[ -e "$x" ] || continue; # Skip when no file found (will still loop $x with "next-*.ts")
|
||||
mv $x $CURRENT_VERSION$(echo ${x#next});
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue