Skip to content

Commit

Permalink
fix ci: use mjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
nokotan committed Jul 22, 2024
1 parent 8de5e64 commit e81d53a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ci-scripts/AutoUpdate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

LANG="ja_JP.SJIS"

export DxLibVersion=$(node ./FetchDxLibVersion.js)
export DxLibVersion=$(node ./FetchDxLibVersion.mjs)
export OriginalBranch=original
export DevelopBranch="update_to_${DxLibVersion}"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions ci-scripts/UpdateFromAndroid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ function create_patch_commit_of_android_part() {
mkdir ../src/HTML5 || true

# Commit1: cherry-pick preparation
node ./CopyFromAndroid.js
node ./CopyFromAndroid.mjs

if [ $? -ne 0 ]; then
err_exit "CopyFromAndroid.js failed!"
err_exit "CopyFromAndroid.mjs failed!"
fi

git stage ../src/HTML5/*
Expand All @@ -21,10 +21,10 @@ function create_patch_commit_of_android_part() {

# Commit2: cherry-picked commit
cp DxLibMake/Android/* ../src/Android
node ./CopyFromAndroid.js
node ./CopyFromAndroid.mjs

if [ $? -ne 0 ]; then
err_exit "CopyFromAndroid.js failed!"
err_exit "CopyFromAndroid.mjs failed!"
fi


Expand Down
8 changes: 4 additions & 4 deletions ci-scripts/UpdateFromiOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ function create_patch_commit_of_ios_part() {
git switch ${WorkingBranch} --force

# Commit1: cherry-pick preparation
node ./CopyFromiOS.js
node ./CopyFromiOS.mjs

if [ $? -ne 0 ]; then
err_exit "CopyFromiOS.js failed!"
err_exit "CopyFromiOS.mjs failed!"
fi


Expand All @@ -20,10 +20,10 @@ function create_patch_commit_of_ios_part() {

# Commit2: cherry-picked commit
cp DxLibMake/iOS/* ../src/iOS
node ./CopyFromiOS.js
node ./CopyFromiOS.mjs

if [ $? -ne 0 ]; then
err_exit "CopyFromiOS.js failed!"
err_exit "CopyFromiOS.mjs failed!"
fi


Expand Down

0 comments on commit e81d53a

Please sign in to comment.