Commit bdcc39f2 authored by Drew's avatar Drew

Modernizing build

See #3
parent 7a3f7461
Pipeline #537 failed with stage
types:
- test
- package
variables:
XCSBOT: "6660d0a3ccbde71d961a5f232308a5bc"
......@@ -15,28 +14,9 @@ xcs:
- "XCSBUILDNO=`/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI xcsIntegrateNow --botID $XCSBOT --hostname localhost --sslPolicy localhost`"
- "/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI waitForIntegration --hostname localhost --botID $XCSBOT --sslPolicy localhost --buildNumber $XCSBUILDNO"
- "/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI xcsStatusToShell --hostname localhost --botID $XCSBOT --sslPolicy localhost --buildNumber $XCSBUILDNO"
only:
- master
tags:
- xc7
archive:
type: package
script:
- "CJ=/Applications/CaveJohnson.app/Contents/MacOS/CaveJohnsonCLI"
- "CARTHAGE=/usr/local/bin/carthage"
- "$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 ${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
artifacts:
- "ZIPFILE=$($CJ getNameVersionString --infoPlistPath {APP_NAME}/Info.plist --productName ${APP_NAME})-dev-${CI_BUILD_ID}.zip"
- "mv /tmp/${APP_NAME}.zip /tmp/${APP_NAME}/$ZIPFILE"
artifacts:
paths:
- /tmp/FISA/
\ No newline at end of file
- /tmp/FISA
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