Skip to content

Commit 52b4bc3

Browse files
feat: add manual release trigger (#71)
Amp-Thread-ID: https://ampcode.com/threads/T-019fcbc8-e3a0-75c0-96d5-80533eea7457 Co-authored-by: Amp <amp@ampcode.com>
1 parent 867e6bd commit 52b4bc3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/release-please.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ name: release-please
88
on:
99
push:
1010
branches: [main]
11+
workflow_dispatch:
12+
inputs:
13+
release_as:
14+
description: 'Optional version to force, for example 1.10.0. Leave empty to use Conventional Commits.'
15+
type: string
16+
required: false
1117

1218
permissions:
1319
contents: write
@@ -21,6 +27,7 @@ jobs:
2127
id: release
2228
with:
2329
token: ${{ secrets.GITHUB_TOKEN }}
30+
release-as: ${{ inputs.release_as || '' }}
2431

2532
# Move the moving major tag here rather than in release-major-tag.yml: a
2633
# release created with GITHUB_TOKEN does NOT trigger other workflows, so the

0 commit comments

Comments
 (0)