Skip to content

Commit

Permalink
Report version internally to track historic releases (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArielDemarco authored Jan 10, 2025
1 parent 9a15cbe commit 55fc0a9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,22 @@ jobs:
- name: Push EmbraceIO Podspec
run: |
pod trunk push embrace-apple-sdk/EmbraceIO.podspec --allow-warnings
create_internal_release:
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
- create_github_release
env:
RC_VERSION: ${{ needs.extractor.outputs.rc_version }}
IS_PRODUCTION_READY: ${{ needs.extractor.outputs.is_production_ready }}

steps:
- name: Record SDK Version History
if: env.IS_PRODUCTION_READY == 'true'
run: |
curl -f -X POST ${{ vars.SDK_VERSION_URL }}/ios/version/ -H 'X-Embrace-CI: ${{ secrets.SDK_VERSION_TOKEN }}' -H 'Content-Type: application/json' -d '{"version": "${{ RC_VERSION }}"}'
# Note: missing/removed steps from old sdk
# - dsyms work

0 comments on commit 55fc0a9

Please sign in to comment.