Skip to content

Update iOS release workflow #4

Update iOS release workflow

Update iOS release workflow #4

Workflow file for this run

name: Tag Release
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
tag_release:
if: ${{ github.event.pull_request.merged == true && startsWith( github.head_ref, 'version-' ) }}
runs-on: ubuntu-latest
steps:
- name: 🧮 Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
- name: Get Version
uses: mad9000/actions-find-and-replace-string@5
id: get-version
with:
source: ${{ github.head_ref }}
find: 'version-'
replace: ''
- name: Add Tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.PAT }}
custom_tag: ${{steps.get-version.outputs.value}}
tag_prefix: ''