mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
ci: Fix release workflow inputs (#5681)
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user