Skip to content

Create stable release #31

Create stable release

Create stable release #31

Workflow file for this run

name: Create stable release
on:
workflow_dispatch:
inputs:
ticket:
description: Release ticket id for the GitHub commit (i.e. MOEN-1234)
type: string
required: true
sdk-version:
description: The SDK dependency version to update to, in the package.json
type: string
required: false
default: ''
jobs:
release:
name: Create release
runs-on: macos-15
steps:
- name: Checkout scripts
uses: actions/checkout@v4
with:
path: scripts
repository: moengage/sdk-automation-scripts
token: ${{ secrets.SDK_BOT_ACCESS_TOKEN }}
fetch-depth: 0
fetch-tags: true
- name: Setup dev environment
uses: ./scripts/actions/ios-action-setup
env:
SDK_BOT_ACCESS_TOKEN: ${{ secrets.SDK_BOT_ACCESS_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4
with:
path: source
token: ${{ secrets.SDK_BOT_ACCESS_TOKEN }}
fetch-depth: 0
fetch-tags: true
- name: Create release
uses: ./scripts/actions/ios-sdk-client-release
with:
dir: source
env:
GITHUB_TOKEN: ${{ secrets.SDK_BOT_ACCESS_TOKEN }}
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
MO_RELEASE_TICKET: ${{ inputs.ticket }}
MO_SDK_DEPENDENCY_VERSION: ${{ inputs.sdk-version }}