Skip to content

Commit

Permalink
feat(semantic_release): allow specifying release-type to `release-p…
Browse files Browse the repository at this point in the history
…lease`
  • Loading branch information
mehalter committed Nov 8, 2024
1 parent c7744a8 commit 43102ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/semantic_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
default: false
required: false
type: boolean
release-type:
description: "The type of release strategy to do for release-please"
default: simple
required: false
type: string

jobs:
conventional_commit:
Expand Down Expand Up @@ -46,7 +51,7 @@ jobs:
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: simple
release-type: ${{ inputs.release-type }}
- uses: actions/checkout@v4
- uses: rickstaa/action-create-tag@v1
if: ${{ steps.release.outputs.release_created }}
Expand Down

0 comments on commit 43102ad

Please sign in to comment.