Skip to content

Commit

Permalink
fix: read the release-type parameter when updating the workflows (#32)
Browse files Browse the repository at this point in the history
# Description

The script didn't consume the release type which is following the
`--release-type` parameter. Thus it always failed if the parameter was
given.

# Verification

Tested locally.
  • Loading branch information
kayman-mk committed May 29, 2024
1 parent ce8d428 commit 74522d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update-workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function ensure_and_set_parameters_or_exit() {
while [[ $# -gt 0 ]]; do
case $1 in
--release-type)
release_type=$1
release_type=$2
shift
shift
;;
--*|-*)
Expand Down

0 comments on commit 74522d7

Please sign in to comment.