Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
morisgateno-appsflyer committed Jun 16, 2024
1 parent 9b5653d commit dc6b73d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/bash_scripts/pre_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ mv AppsFlyerAdobeAEPExtension.podspec AppsFlyerAdobeAEPExtension-qa.podspec

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

sed -r -i '' "s/(.*pod \'AppsFlyerAdobeAEPExtension)\'(.*\'[0-9]+\.[0-9]+\.[0-9]+\')/\1\',\'$rcVersion\'/g" AdobeAEPSample/Podfile
sed -r -i '' "s/(.*pod \'AppsFlyerAdobeAEPExtension)\'(.*\'[0-9]+\.[0-9]+\.[0-9]+\')/\1-qa\',\'$rcVersion\'/g" AdobeAEPSample/Podfile

sed -r -i '' "s/(- iOS AppsFlyer SDK .*)([0-9]+\.[0-9]+\\.[0-9]+)(.*)/\1$appsflyerLibVersion\3/g" README.md

Expand Down
9 changes: 4 additions & 5 deletions .github/bash_scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

releaseVersion=$1

sed -r -i '' "s/version_plugin = \'[0-9]+\.[0-9]+\.[0-9]+.*\'/version_plugin = \'$releaseVersion\'/g" segment-appsflyer-ios-qa.podspec
sed -i '' "s/s.name = \"segment-appsflyer-ios-qa\"/s.name = \"segment-appsflyer-ios\"/g" segment-appsflyer-ios-qa.podspec
mv segment-appsflyer-ios-qa.podspec segment-appsflyer-ios.podspec
sed -r -i '' "s/version_plugin = \'[0-9]+\.[0-9]+\.[0-9]+.*\'/version_plugin = \'$releaseVersion\'/g" AppsFlyerAdobeAEPExtension-qa.podspec
sed -i '' "s/s.name = \'AppsFlyerAdobeAEPExtension-qa\'/s.name = \'AppsFlyerAdobeAEPExtension\'/g" AppsFlyerAdobeAEPExtension-qa.podspec
mv AppsFlyerAdobeAEPExtension-qa.podspec AppsFlyerAdobeAEPExtension.podspec

sed -r -i '' "s/(.*pod \'segment-appsflyer-ios)-qa\'(.*)/\1\',\'$releaseVersion\'/g" examples/SwiftPodsSample/Podfile
sed -r -i '' "s/(.*pod \'segment-appsflyer-ios)-qa\'(.*)/\1\',\'$releaseVersion\'/g" examples/ObjcPodsSample/Podfile
sed -r -i '' "s/(.*pod \'AppsFlyerAdobeAEPExtension)-qa\'(.*)/\1\',\'$releaseVersion\'/g" AdobeAEPSample/Podfile

sed -i '' 's/^/* /' "releasenotes.$releaseVersion"
NEW_VERSION_RELEASE_NOTES=$(cat "releasenotes.$releaseVersion")
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-production-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Push to COCOAPODS
run: |
pod trunk me
pod trunk push segment-appsflyer-ios.podspec
pod trunk push AppsFlyerAdobeAEPExtension.podspec
- name: Notify with SLack
uses: slackapi/slack-github-action@v1.23.0
with:
Expand Down
Empty file added RELEASENOTES.md
Empty file.

0 comments on commit dc6b73d

Please sign in to comment.