-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: selector and custom version bump
- Loading branch information
Showing
2 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Bump version | ||
|
||
on: | ||
workflow_dispatch: # manually | ||
inputs: | ||
bump-type: | ||
type: choice | ||
required: true | ||
description: "The kind of version bump to perform" | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
- custom version | ||
custom-version: | ||
type: string | ||
description: "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 }} | ||
|
||
|
||
|