Skip to content

fix: Move the cursor to the end of the text after pasting the card number #276

fix: Move the cursor to the end of the text after pasting the card number

fix: Move the cursor to the end of the text after pasting the card number #276

name: Post Release PR Merge
on:
pull_request:
types: [ closed ]
jobs:
release_merge:
if: github.head_ref == 'release/next' && github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Git - Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.RELEASE_ACCESS_TOKEN }}
fetch-depth: 0
- name: Install cz
run: pip install --user -U Commitizen
- name: Record previous version
run: |
echo "FROM_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
- name: Record release version
run: |
echo "RELEASE_VERSION=$(cz version --project)" >> $GITHUB_ENV
- name: Tag release
run: |
git tag $RELEASE_VERSION
git push origin $RELEASE_VERSION
- name: Record changelog for current release
run: cz changelog $FROM_VERSION..$RELEASE_VERSION --file-name="release.md"
- name: Create release
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5 #v1.14.0
with:
name: "Release ${{ env.RELEASE_VERSION }}"
tag: ${{ env.RELEASE_VERSION }}
bodyFile: "release.md"
build-and-upload-to-appetize:
if: github.head_ref == 'release/next' && github.event.pull_request.merged == true
runs-on: macos-13
timeout-minutes: 20
name: "Build and upload app to Appetize"
steps:
- name: Cancel previous jobs
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # v0.12.1
with:
access_token: ${{ github.token }}
- name: Git - Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
ref: ${{ github.ref }}
- name: Upload preview to Appetize
id: appetize-upload
uses: ./.github/actions/appetize-build
with:
build_type: 'release'
github-token: ${{ secrets.GITHUB_TOKEN }}
ssh-private-key: ${{ secrets.SSH_KEY }}
known-hosts: ${{ secrets.KNOWN_HOSTS }}
match-password: ${{ secrets.MATCH_PASSWORD }}
match-git-private-key: ${{ secrets.FASTLANE_PASSWORD }}
fastlane-session: ${{ secrets.FASTLANE_SESSION }}
fastlane-password: ${{ secrets.FASTLANE_PASSWORD }}
match-keychain-name: ${{ secrets.MATCH_KEYCHAIN_NAME }}
match-keychain-password: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }}
appetize-api-token: ${{ secrets.APPETIZE_API_TOKEN }}
source-branch: ${{ github.head_ref || github.ref_name }}
pr-number: ""
slack-channel: ${{ secrets.SLACK_MOBILE_SDK_CHANNEL }}
slack-reporter-token: ${{ secrets.SLACK_REPORTER_BOT_TOKEN }}
github-run-id: ${{ github.run_id }}