Skip to content

Commit

Permalink
ci: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jcwillox committed Jan 26, 2025
1 parent 3dd16b3 commit 9b43472
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:
type: boolean
description: "Draft release"
default: false
discussion:
type: boolean
description: "Create discussion"
default: false
release_type:
type: choice
description: "Release type"
Expand Down Expand Up @@ -47,6 +51,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SEMANTIC_RELEASE_GITHUB_DRAFT: ${{ inputs.draft }}
SEMANTIC_RELEASE_GITHUB_DISCUSSION: ${{ inputs.discussion }}
SEMANTIC_RELEASE_FORCE_RELEASE: ${{ inputs.release_type }}
SEMANTIC_RELEASE_CMD_PREPARE: |
yq -i '.version = "${nextRelease.version}"' manifest.json
Expand Down

0 comments on commit 9b43472

Please sign in to comment.