Skip to content

Release 0.3.2 (#48) #21

Release 0.3.2 (#48)

Release 0.3.2 (#48) #21

Workflow file for this run

name: cd
on:
push:
tags:
- "*"
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate tag is valid
run: |
echo "${{ github.ref_name }}" | grep -P '^[0-9]+\.[0-9]+\.[0-9]+'
- name: Validate tag matches podspec version
run: |
cat SpruceIDMobileSdk.podspec | grep -P "${{ github.ref_name }}"
main:
runs-on: macos-latest
needs: validation
steps:
- uses: actions/checkout@v4
- name: Publish to CocoaPod register
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
pod trunk push SpruceIDMobileSdk.podspec --synchronous