Skip to content

1. Bump Version

1. Bump Version #6

name: 1. Bump Version
on:
workflow_dispatch:
inputs:
bump_type:
type: choice
description: "Choose bump version type:"
required: true
options: ["patch", "minor", "major"]
jobs:
bump_version:
name: Bump Version
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Bump version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
./scripts/bump-version.sh -b=${{ inputs.bump_type }} -c -t -p