Skip to content

Commit 3e0842d

Browse files
Rename custom -version flag to -buildVersion (#137)
* Rename custom -version flag to -customProjectVersion * Rename flag to -buildVersion
1 parent 1f8d196 commit 3e0842d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action/default-build-script/Assets/Editor/Builder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public static void BuildProject()
2727
};
2828

2929
// Set version for this build
30-
VersionApplicator.SetVersion(options["version"]);
30+
VersionApplicator.SetVersion(options["buildVersion"]);
3131
VersionApplicator.SetAndroidVersionCode(options["androidVersionCode"]);
3232

3333
// Apply Android settings

action/steps/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
119119
-customBuildTarget "$BUILD_TARGET" \
120120
-customBuildPath "$CUSTOM_BUILD_PATH" \
121121
-executeMethod "$BUILD_METHOD" \
122-
-version "$VERSION" \
122+
-buildVersion "$VERSION" \
123123
-androidVersionCode "$ANDROID_VERSION_CODE" \
124124
-androidKeystoreName "$ANDROID_KEYSTORE_NAME" \
125125
-androidKeystorePass "$ANDROID_KEYSTORE_PASS" \

0 commit comments

Comments
 (0)