mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
Update build-release-testflight-ipa.yml
This commit is contained in:
parent
de348539db
commit
9ae1602f67
1 changed files with 5 additions and 14 deletions
|
@ -54,9 +54,6 @@ jobs:
|
||||||
- name: Display release-notes.txt
|
- name: Display release-notes.txt
|
||||||
run: cat release-notes.txt
|
run: cat release-notes.txt
|
||||||
|
|
||||||
- name: Display release-notes.json
|
|
||||||
run: cat release-notes.json
|
|
||||||
|
|
||||||
- name: Set up Git Authentication
|
- name: Set up Git Authentication
|
||||||
env:
|
env:
|
||||||
ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
|
ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }}
|
||||||
|
@ -108,10 +105,11 @@ jobs:
|
||||||
- name: Create App Store Connect API Key JSON
|
- name: Create App Store Connect API Key JSON
|
||||||
run: echo '${{ secrets.APP_STORE_CONNECT_API_KEY_CONTENT }}' > ./ios/appstore_api_key.json
|
run: echo '${{ secrets.APP_STORE_CONNECT_API_KEY_CONTENT }}' > ./ios/appstore_api_key.json
|
||||||
|
|
||||||
- name: Get iOS Project Version
|
- name: Determine Marketing Version
|
||||||
run: |
|
run: |
|
||||||
VERSION=$(defaults read $(pwd)/path/to/Info.plist CFBundleShortVersionString)
|
PROJECT_VERSION=$(xcodebuild -project ./ios/BlueWallet/BlueWallet.xcodeproj -showBuildSettings | grep MARKETING_VERSION | tr -s ' ' | cut -d ' ' -f3)
|
||||||
echo "PROJECT_VERSION=$VERSION" >> $GITHUB_ENV
|
echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV
|
||||||
|
echo "::set-output name=project_version::$PROJECT_VERSION"
|
||||||
|
|
||||||
- name: Generate Build Number based on timestamp
|
- name: Generate Build Number based on timestamp
|
||||||
run: echo "NEW_BUILD_NUMBER=$(date +%s)" >> $GITHUB_ENV
|
run: echo "NEW_BUILD_NUMBER=$(date +%s)" >> $GITHUB_ENV
|
||||||
|
@ -143,11 +141,4 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: BlueWallet-${{ env.NEW_BUILD_NUMBER }}.ipa
|
name: BlueWallet-${{ env.NEW_BUILD_NUMBER }}.ipa
|
||||||
path: ./ios/build/BlueWallet.${{env.PROJECT_VERSION}}(${{ env.NEW_BUILD_NUMBER }}).ipa
|
path: ./ios/build/BlueWallet.${{env.PROJECT_VERSION}}(${{ env.NEW_BUILD_NUMBER }}).
|
||||||
|
|
||||||
- name: Upload Fastlane logs as Artifact
|
|
||||||
if: always()
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: fastlane-logs
|
|
||||||
path: fastlane.log
|
|
Loading…
Add table
Reference in a new issue