1
0
Fork 1
mirror of https://example.com synced 2024-11-22 20:56:40 +09:00

dev: remove redundant operations from upgrading scripts

This commit is contained in:
naskya 2023-11-21 03:20:21 +09:00
parent 7e23a6d32d
commit 21a07539a3
Signed by: naskya
GPG key ID: 164DFF24E2D40139
2 changed files with 0 additions and 3 deletions

View file

@ -54,7 +54,6 @@ br
if [ ! -f packages/backend/native-utils/built/index.js ]; then
say 'Something went wrong orz... Gonnya try fixing that.'
run 'cp neko/index.js packages/backend/native-utils/built/index.js'
cp neko/index.js packages/backend/native-utils/built/index.js
else
say "It's going well so far!"
br

View file

@ -13,10 +13,8 @@ OLD_COMMIT=$(git rev-parse HEAD)
say 'Pulling changes from the remote repo...'
run 'git checkout -- package.json packages/backend/assets'
git checkout -- package.json packages/backend/assets
run 'git pull --ff --no-edit --autostash --strategy-option theirs'
git pull --ff --no-edit --autostash --strategy-option theirs
NEW_COMMIT=$(git rev-parse HEAD)
say 'Pulled successfully!'