Skip to content

Commit c904625

Browse files
committed
fix(release): accept both '0.2.0' and 'v0.2.0' as confirmation input
Signed-off-by: jdsika <carlo.van-driesten@bmw.de>
1 parent 362a149 commit c904625

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
4141
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
4242
confirm="${{ github.event.inputs.confirm }}"
43+
confirm="${confirm#v}"
4344
if [ "${confirm}" != "${version}" ]; then
4445
echo "::error::Confirmation input '${confirm}' does not match package.json version '${version}'"
4546
exit 1

0 commit comments

Comments
 (0)