Implement versioning strategies in js 🧉

This commit is contained in:
Webber
2020-04-26 20:22:09 +02:00
committed by Webber Takken
parent 2e81e61af3
commit d75d7890d0
23 changed files with 361 additions and 93 deletions

View File

@@ -19,7 +19,7 @@ class Docker {
static async run(image, parameters, silent = false) {
const {
unityVersion,
version,
workspace,
platform,
projectPath,
@@ -27,8 +27,7 @@ class Docker {
buildPath,
buildFile,
buildMethod,
versioning,
version,
buildVersion,
customParameters,
} = parameters;
@@ -40,15 +39,14 @@ class Docker {
--env UNITY_EMAIL \
--env UNITY_PASSWORD \
--env UNITY_SERIAL \
--env UNITY_VERSION="${unityVersion}" \
--env UNITY_VERSION="${version}" \
--env PROJECT_PATH="${projectPath}" \
--env BUILD_TARGET="${platform}" \
--env BUILD_NAME="${buildName}" \
--env BUILD_PATH="${buildPath}" \
--env BUILD_FILE="${buildFile}" \
--env BUILD_METHOD="${buildMethod}" \
--env VERSIONING="${versioning}" \
--env VERSION="${version}" \
--env VERSION="${buildVersion}" \
--env CUSTOM_PARAMETERS="${customParameters}" \
--env HOME=/github/home \
--env GITHUB_REF \