Skip to content

⏫ Bump the version #19

⏫ Bump the version

⏫ Bump the version #19

Workflow file for this run

name: ⏫ Bump the version
on:
workflow_dispatch:
inputs:
releaseType:
description: "What kind of release is this?"
required: false
default: "auto"
type: choice
options:
- "auto"
- "major"
- "minor"
- "patch"
jobs:
bump-version:
name: Bump version
runs-on: ubuntu-latest
permissions:
contents: write
environment: release
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: Setup mise
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4
- name: Bump version and changelog
run: >
mise run release:bump --
--hook-profile ci
--skip-ci
--${{ github.event.inputs.releaseType == 'auto' && 'auto' || github.event.inputs.releaseType }}
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}