ci: Fix release workflow inputs (#5681)

This commit is contained in:
Mathias Fredriksson
2023-01-11 23:32:25 +00:00
committed by GitHub
parent 1df72ee093
commit c7e1ecfe36
2 changed files with 31 additions and 12 deletions
+2 -1
View File
@@ -147,6 +147,8 @@ if ! [[ $create =~ ^[Yy]$ ]]; then
fi
args=()
# Draft and dry-run are required args.
if ((draft)); then
args+=(-F draft=true)
else
@@ -168,7 +170,6 @@ log
gh workflow run release.yaml \
--ref "$branch" \
-F increment="$increment" \
-F snapshot=false \
"${args[@]}"
log