Skip to content

Commit

Permalink
add change yo workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
morisgateno-appsflyer committed Jun 10, 2024
1 parent a51d3b7 commit 4e9586d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/bash_scripts/pre_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ rcVersion=$2
sed -i '' "s/version_appsflyerLib = \'.*\'/version_appsflyerLib = \'$appsflyerLibVersion\'/g" segment-appsflyer-ios.podspec
sed -i '' "s/version_plugin = \'.*\'/version_plugin = \'$rcVersion\'/g" segment-appsflyer-ios.podspec
sed -i '' "s/s.name = \"segment-appsflyer-ios\"/s.name = \"segment-appsflyer-ios-qa\"/g" segment-appsflyer-ios.podspec
mv segment-appsflyer-ios.podspec segment-appsflyer-ios-qa.podspec

sed -r -i '' "s/(.*AppsFlyerLib.*)([0-9]+\.[0-9]+\.[0-9]+)(.*)/\1$appsflyerLibVersion\3/g" Package.swift

Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/release-QA-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,20 @@ jobs:
if: needs.Check-If-ReleaseNotes-Pushed.outputs.answer == 'false'
uses: ./.github/workflows/unit-tests-workflow.yml

Deploy-Locally-To-QA:
Prepere-To-QA:
needs: [Run-Unit-Tests,Check-If-ReleaseNotes-Pushed]
if: needs.Check-If-ReleaseNotes-Pushed.outputs.answer == 'false'
uses: ./.github/workflows/prepare-for-QA-release.yml

Release-To-QA:
needs: [Run-Unit-Tests,Check-If-ReleaseNotes-Pushed,Prepere-To-QA]
if: needs.Check-If-ReleaseNotes-Pushed.outputs.answer == 'false'
steps:
- name: Install Cocoapods
run: gem install cocoapods
- name: Push to COCOAPODS
uses: michaelhenry/[email protected]
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.CI_COCOAPODS_TOKEN }}


0 comments on commit 4e9586d

Please sign in to comment.