Skip to content

Commit

Permalink
ci: update bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
dpr-0 committed Dec 1, 2023
1 parent 6dc04d2 commit 3d700ff
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/bumpversion.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
name: Bump version

on:
push:
branches:
- main

workflow_dispatch:
inputs:
prerelease:
description: "Set as prerelease {alpha,beta,rc} choose type of prerelease"
type: choice
default: ""
options:
- alpha
- beta
- rc
- ""
jobs:
bump-version:
if: "!startsWith(github.event.head_commit.message, 'bump:')"
Expand All @@ -21,6 +28,7 @@ jobs:
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
changelog_increment_filename: body.md
prerelease: ${{ inputs.prerelease }}
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit 3d700ff

Please sign in to comment.