This commit is contained in:
Max Goedjen 2020-03-15 01:08:41 -07:00
parent 6136fc2e69
commit 57e6b6779f
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8

View File

@ -21,7 +21,7 @@ jobs:
body: '' body: ''
draft: true draft: true
prerelease: false prerelease: false
- name: Set up signing - name: Setup Signing
env: env:
SIGNING_DATA: ${{ secrets.SIGNING_DATA }} SIGNING_DATA: ${{ secrets.SIGNING_DATA }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
@ -32,7 +32,7 @@ jobs:
env: env:
TAG_NAME: ${{ github.ref }} TAG_NAME: ${{ github.ref }}
run: | run: |
export CLEAN_TAG=$(echo $TAG_NAME | sed -e 's/v//') export CLEAN_TAG=$(echo $TAG_NAME | sed -e 's/refs\/tags\/v//')
sed -i '' -e "s/CI_VERSION = 0.0.0/CI_VERSION = $CLEAN_TAG/g" Config/Config.xcconfig sed -i '' -e "s/CI_VERSION = 0.0.0/CI_VERSION = $CLEAN_TAG/g" Config/Config.xcconfig
- name: Build - name: Build
run: xcrun xcodebuild -project Secretive.xcodeproj -scheme Secretive -configuration Release -archivePath Archive.xcarchive archive run: xcrun xcodebuild -project Secretive.xcodeproj -scheme Secretive -configuration Release -archivePath Archive.xcarchive archive