From 5f142eacaaf5437cedbf722e943874b71680da96 Mon Sep 17 00:00:00 2001 From: keefertaylor Date: Sun, 3 Nov 2019 09:26:59 -0800 Subject: [PATCH] update release procedure --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 471abb4..fdc3197 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,15 +29,17 @@ jobs: - set -o pipefail && xcodebuild test -scheme Base58Swift_iOS -destination 'platform=iOS Simulator,name=iPhone XS,OS=12.2' ONLY_ACTIVE_ARCH=YES | xcpretty - slather - bash <(curl -s https://codecov.io/bash) - - stage: Release - CocoaPods - script: - - echo "Building CocoaPods Release If Tag is Present" - before_deploy: - - pod trunk push --skip-import-validation --skip-tests --allow-warnings - - stage: Release - Carthage + - stage: Build and Push Release if tagged commit script: - echo "Building Carthage Release If Tag is Present" before_deploy: + - echo "Found tagged release" + + - echo "Deploying CocoaPods" + - brew outdated cocoapods || brew upgrade cocoapods + - pod trunk push --skip-import-validation --skip-tests --allow-warnings + + - echo "Deploying Carthage" - brew outdated carthage || brew upgrade carthage - brew install xcodegen - xcodegen generate