diff --git a/.buildkite/scripts/create-github-release.sh b/.buildkite/scripts/create-github-release.sh index 5113c7dd..3e6d7b74 100755 --- a/.buildkite/scripts/create-github-release.sh +++ b/.buildkite/scripts/create-github-release.sh @@ -38,9 +38,9 @@ if [ -n "${BUILDKITE_TAG}" ] ; then create \ "${BUILDKITE_TAG}" \ --draft \ - --title "${BUILDKITE_TAG}" \ - --repo elastic/synthetics-recorder \ - ./$DIST_LOCATION/*.* + --generate-notes \ + --repo "elastic/synthetics-recorder" \ + "${DIST_LOCATION}"/*.* else echo "gh release won't be triggered this is not a Git tag release, but let's list the releases" # VAULT_GITHUB_TOKEN is the GitHub ephemeral token created in Buildkite