Skip to content

v10.2.1

v10.2.1 #9

Workflow file for this run

name: Post-Release Actions
on:
release:
types:
- created
jobs:
bump-cross-platform-sdks:
runs-on: ubuntu-latest
steps:
- name: Create Flutter PR
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
https://api.github.com/repos/smileidentity/flutter/actions/workflows/release_android.yml/dispatches \
--data '{"ref": "main","inputs": {"android_release_version": "${{ github.event.release.tag_name }}" }}'
- name: Create React Native PR
run: |
curl -X POST \
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
https://api.github.com/repos/smileidentity/react-native/actions/workflows/android_release.yml/dispatches \
--data '{"ref": "main","inputs": {"android_release_version": "${{ github.event.release.tag_name }}" }}'
update-docs-release-notes:
runs-on: ubuntu-latest
steps:
- name: Checkout android
uses: actions/checkout@v4
with:
path: android
- name: Checkout docs
uses: actions/checkout@v4
with:
repository: smileidentity/docs
path: docs
token: ${{ secrets.GH_PAT }}
- name: Copy CHANGELOG.md to Release Notes
run: cp android/CHANGELOG.md docs/integration-options/mobile/android-v10/release-notes.md
- name: Create docs PR
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GH_PAT }}
path: docs
commit-message: Android ${{ github.event.release.tag_name }} Release Notes
title: Android ${{ github.event.release.tag_name }} Release Notes
body: Automated PR to update the release notes
branch: android-release-notes-${{ github.event.release.tag_name }}
labels: "release-notes"
team-reviewers: "smileidentity/mobile"