Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lizzy-0323 committed Sep 25, 2024
1 parent 8d92da3 commit 1da4bd2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/create-cli-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,22 +72,24 @@ function create_release {
if [[ "$module" == "cli" ]]; then
release_artifact_dir=$(mktemp -d)
build_binary "$version" "$release_artifact_dir"

# additional_release_artifacts_arg+="$release_artifact_dir/*"

additional_release_artifacts_arg=("$release_artifact_dir"/*)

# create github releases
gh release create "$git_tag" \
--title "$git_tag" \
--draft \
"${additional_release_artifacts_arg[@]}"

return
fi

# create github releases
gh release create "$git_tag" \
--title "$git_tag" \
--draft

return
}

## create release
Expand Down

0 comments on commit 1da4bd2

Please sign in to comment.