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:
variables:
XCSBOT: "6660d0a3ccbde71d961a5f232308a5bc"
GITLAB_PROJECT_ID: "10"
APP_NAME: "FISA"
xcs:
type: test
......@@ -24,14 +25,14 @@ archive:
script:
- "CJ=/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI"
- "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}"
- "$CARTHAGE bootstrap"
- "$CJ packageApplication --productName FISA"
- "ZIPFILE=$($CJ getNameVersionString --infoPlistPath FISA/FISA/Info.plist --productName FISA)-dev-${CI_BUILD_ID}.zip"
- "rm -rf /tmp/FISA/"
- "mkdir -p /tmp/FISA"
- "mv out.zip /tmp/FISA/$ZIPFILE"
- "$CJ packageApplication --productName ${APP_NAME}"
- "ZIPFILE=$($CJ getNameVersionString --infoPlistPath {APP_NAME}/Info.plist --productName ${APP_NAME})-dev-${CI_BUILD_ID}.zip"
- "rm -rf /tmp/${APP_NAME}/"
- "mkdir -p /tmp/${APP_NAME}"
- "mv out.zip /tmp/${APP_NAME}/$ZIPFILE"
only:
- 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