Skip to content

Commit

Permalink
Update slack message for release drafts (#2582)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 authored Nov 13, 2023
1 parent ec9eeeb commit e5a7a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make/buf/scripts/draftrelease.bash
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ b loop
# The second v${VERSION} is the tag, see https://cli.github.com/manual/gh_release_create
url=$(gh release create --draft --notes "${release_notes}" --title "v${VERSION}" "v${VERSION}" .build/release/buf/assets/*)

jq --null-input "{text:\"BufCLI Release ${VERSION} is complete: ${url}\"}" | curl -sSL -X POST -H 'Content-Type: application/json' -d@- "${WEBHOOK_URL}"
jq --null-input "{text:\"BufCLI Release ${VERSION} has been drafted: ${url}\"}" | curl -sSL -X POST -H 'Content-Type: application/json' -d@- "${WEBHOOK_URL}"

0 comments on commit e5a7a1c

Please sign in to comment.