Commit 7a3f7461 authored by Drew's avatar Drew

More build modernization

See #3
parent 2acfdd49
Pipeline #536 failed with stages
...@@ -5,6 +5,7 @@ types: ...@@ -5,6 +5,7 @@ types:
variables: variables:
XCSBOT: "6660d0a3ccbde71d961a5f232308a5bc" XCSBOT: "6660d0a3ccbde71d961a5f232308a5bc"
GITLAB_PROJECT_ID: "10" GITLAB_PROJECT_ID: "10"
APP_NAME: "FISA"
xcs: xcs:
type: test type: test
...@@ -24,14 +25,14 @@ archive: ...@@ -24,14 +25,14 @@ archive:
script: script:
- "CJ=/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI" - "CJ=/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI"
- "CARTHAGE=/usr/local/bin/carthage" - "CARTHAGE=/usr/local/bin/carthage"
- "$CJ setVersion --infoPlistPath FISA/Info.plist --version ${CI_BUILD_ID}" - "$CJ setVersion --infoPlistPath ${APP_NAME}/Info.plist --version ${CI_BUILD_ID}"
- "$CJ setVersion --infoPlistPath FISAKit/Info.plist --version ${CI_BUILD_ID}" - "$CJ setVersion --infoPlistPath FISAKit/Info.plist --version ${CI_BUILD_ID}"
- "$CARTHAGE bootstrap" - "$CARTHAGE bootstrap"
- "$CJ packageApplication --productName FISA" - "$CJ packageApplication --productName ${APP_NAME}"
- "ZIPFILE=$($CJ getNameVersionString --infoPlistPath FISA/FISA/Info.plist --productName FISA)-dev-${CI_BUILD_ID}.zip" - "ZIPFILE=$($CJ getNameVersionString --infoPlistPath {APP_NAME}/Info.plist --productName ${APP_NAME})-dev-${CI_BUILD_ID}.zip"
- "rm -rf /tmp/FISA/" - "rm -rf /tmp/${APP_NAME}/"
- "mkdir -p /tmp/FISA" - "mkdir -p /tmp/${APP_NAME}"
- "mv out.zip /tmp/FISA/$ZIPFILE" - "mv out.zip /tmp/${APP_NAME}/$ZIPFILE"
only: only:
- master - master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment