Skip to content

Commit 492355f

Browse files
committed
Allow to provide the next release version when the release is triggered manually
1 parent 6bf9112 commit 492355f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
schedule:
55
- cron: '0 3 * * 1'
66
workflow_dispatch:
7+
inputs:
8+
next_release:
9+
type: string
10+
description: The version to release
711

812
jobs:
913
release:
@@ -13,6 +17,6 @@ jobs:
1317
- uses: actions/checkout@v4
1418
- run: git config user.email '[email protected]' && git config user.name 'Jakub Zalas'
1519
- run: sudo apt-get update && sudo apt-get install -y hub
16-
- run: make auto-release
20+
- run: make auto-release NEXT_RELEASE="${{ github.event.inputs.next_release }}"
1721
env:
1822
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)