Bump and tag new version #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Bump and tag new version" | |
on: | |
workflow_dispatch: | |
inputs: | |
newVersion: | |
description: "New version" | |
required: true | |
type: string | |
jobs: | |
pre-commit: | |
runs-on: "ubuntu-latest" | |
name: "Run tbump" | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Bump version and push the tag | |
run: | | |
pipx run tbump --non-interactive "${{ inputs.newVersion }}" | |
git config user.name github-actions | |
git config user.email [email protected] |