Bump version #5
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 version | |
on: | |
workflow_dispatch: # manually | |
inputs: | |
bump-type: | |
type: choice | |
required: true | |
description: "The kind of version bump to perform" | |
default: "minor" | |
options: | |
- minor | |
- patch | |
- major | |
- custom version | |
custom-version: | |
type: string | |
description: "OPTIONAL: Custom version to use" | |
required: false | |
default: "" | |
permissions: | |
contents: write | |
jobs: | |
tag-and-release: | |
name: Tag and Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Tag and Release | |
uses: elk-audio/.github/.github/actions/elk-tag-and-release@v1 | |
with: | |
bump-type: ${{ github.event.inputs.bump-type }} | |
custom-version: ${{ github.event.inputs.custom-version }} | |