Skip to content

Exit Prerelease Mode #3

Exit Prerelease Mode

Exit Prerelease Mode #3

name: Exit Prerelease Mode
on:
workflow_dispatch:
inputs:
branch:
description: "Exit prerelease mode on release branch"
type: string
default: "main"
required: true
jobs:
exit_prerelease:
name: Changesets Exit Prerelease
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout Repo
with:
submodules: recursive
- name: "Setup"
uses: ./.github/actions/setup
- name: Remove pre.json
run: npx rimraf .changeset/pre.json
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Exit prerelease mode
# Commit these changes to the branch workflow is running against
branch: ${{ github.event.inputs.branch }}