Skip to content

Commit 135ba20

Browse files
authored
Update Post release workflow to receive tag as an input
1 parent d66bac3 commit 135ba20

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/post_release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Post release
22

33
on:
44
workflow_call:
5+
inputs:
6+
tag:
7+
required: true
8+
type: string
59

610
jobs:
711
trigger-archive-maker:
@@ -19,7 +23,7 @@ jobs:
1923
- name: Extract tag name
2024
id: tag
2125
run: |
22-
TAG="${{ github.ref_name }}"
26+
TAG="${{ inputs.tag }}"
2327
VERSION="${TAG#v}"
2428
echo "version=$VERSION" >> $GITHUB_OUTPUT
2529

0 commit comments

Comments
 (0)