Skip to content

Commit

Permalink
Merge pull request #188 from newrelic/includeCpInProductionDeploy
Browse files Browse the repository at this point in the history
Include Prod Podspec Job by default in productionDeploy
  • Loading branch information
cdillard-NewRelic authored Nov 27, 2023
2 parents d3a8f81 + 9a7637d commit 03f581b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/productionDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,19 @@ jobs:
- name: Print XCFramework name
run: echo "${{ env.version }}"

# - name: Create Prod Podspec for XCFramework version
# run: |
# cd main
- name: Create Prod Podspec for XCFramework version
run: |
cd main
# cp cocoapods/NewRelicAgent.podspec.template NewRelicAgent.podspec
# REPLACE=X.XX
# sed -i bak "s/$REPLACE/${{ env.version }}/g" NewRelicAgent.podspec
cp cocoapods/NewRelicAgent.podspec.template NewRelicAgent.podspec
REPLACE=X.XX
sed -i bak "s/$REPLACE/${{ env.version }}/g" NewRelicAgent.podspec
# rm NewRelicAgent.podspecbak
rm NewRelicAgent.podspecbak
# pod trunk push --allow-warnings NewRelicAgent.podspec
# env:
# COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
pod trunk push --allow-warnings NewRelicAgent.podspec
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}

- name: Create Prod Package.swift for XCFramework version
run: |
Expand Down

0 comments on commit 03f581b

Please sign in to comment.