Skip to content

Version

Version #30

Workflow file for this run

name: Version
on:
workflow_dispatch:
inputs:
version:
description: 'Next Version'
required: true
jobs:
Version:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
ssh-key: ${{ secrets.COMMIT_KEY }}
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version: '20'
- name: Version
run: |
git config user.name mergewhether
git config user.email [email protected]
pnpm version --new-version ${{ github.event.inputs.version }}
git push --follow-tags
echo "Version bumped to v${{ github.event.inputs.version }}" >> $GITHUB_STEP_SUMMARY