Skip to content

feat: support latest option in SDK install #20

feat: support latest option in SDK install

feat: support latest option in SDK install #20

Workflow file for this run

name: Push Tag
on:
pull_request:
types:
- closed
branches:
- "main"
permissions:
contents: write
jobs:
push-tag:
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/')
runs-on: ubuntu-latest
steps:
- name: Generate App Token
uses: actions/create-github-app-token@e8e39f73bb84fdf315a015fa3104f314c0a258b4 # v1.8.1
id: app-token
with:
app-id: ${{ secrets.APP_ID_BLENDFACTORY_TAG_PUSHER }}
private-key: ${{ secrets.PRIVATE_KEY_BLENDFACTORY_TAG_PUSHER }}
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: ${{ steps.app-token.outputs.token }}
- name: Extract Version
id: extract-version
run: .github/scripts/extract-version.sh
- name: Push Tag
run: .github/scripts/push-tag.sh
env:
VERSION: ${{ steps.extract-version.outputs.version }}