Skip to content

Commit 28ca56a

Browse files
committed
Update GChat Announcement Command
Closes gh-75
1 parent 9166b00 commit 28ca56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/perform-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
ANNOUNCING_ID: ${{ inputs.slack-announcing-id }}
128128
WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }}
129129
run: |
130-
curl -X POST "${WEBHOOK_URL}" -H 'Content-Type: application/json' -d "{ \"text\": \"${ANNOUNCING_ID}\" `${VERSION}` is available now\" }" || true
130+
FORMATTED_VERSION='`'"${VERSION}"'`' curl -X POST "${WEBHOOK_URL}" -H 'Content-Type: application/json' -d "{ \"text\": \"${ANNOUNCING_ID} ${FORMATTED_VERSION} is available now\" }" || true
131131
- name: Delete Previous Version
132132
if: ${{ steps.previous-release-milestone.outputs.version != '' }}
133133
env:

0 commit comments

Comments
 (0)