Skip to content

Commit 9b1b516

Browse files
unity-xcode-builder@v1.2.2
1 parent 3898127 commit 9b1b516

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58720,7 +58720,7 @@ async function UploadApp(projectRef) {
5872058720
ignoreReturnCode: true
5872158721
});
5872258722
const outputJson = JSON.stringify(JSON.parse(output), null, 2);
58723-
if (exitCode > 0) {
58723+
if (exitCode !== 0) {
5872458724
(0, utilities_1.log)(outputJson, 'error');
5872558725
throw new Error(`Failed to upload app!`);
5872658726
}

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unity-xcode-builder",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "A GitHub Action to build, archive, and upload Unity exported xcode projects.",
55
"author": "buildalon",
66
"license": "MIT",
@@ -39,4 +39,4 @@
3939
"watch": "ncc build src/index.ts -o dist --source-map --license licenses.txt --watch",
4040
"clean": "npm install && shx rm -rf dist/ out/ node_modules/ && npm ci"
4141
}
42-
}
42+
}

src/xcode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ export async function UploadApp(projectRef: XcodeProject) {
737737
ignoreReturnCode: true
738738
});
739739
const outputJson = JSON.stringify(JSON.parse(output), null, 2);
740-
if (exitCode > 0) {
740+
if (exitCode !== 0) {
741741
log(outputJson, 'error');
742742
throw new Error(`Failed to upload app!`);
743743
}

0 commit comments

Comments
 (0)