Skip to content

Commit ccb2d1d

Browse files
committed
Improve GChat Command
Issue gh-75
1 parent 93fc03e commit ccb2d1d

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-
FORMATTED_VERSION='`'"${VERSION}"'`' curl -X POST "${WEBHOOK_URL}" -H 'Content-Type: application/json' -d "{ \"text\": \"${ANNOUNCING_ID} ${FORMATTED_VERSION} is available now\" }" || true
130+
curl -X POST "${WEBHOOK_URL}" -H 'Content-Type: application/json' -d "{ \"text\": \"${ANNOUNCING_ID} $(echo '`')${VERSION}$(echo '`') is available now\" }" || true
131131
- name: Delete Previous Version
132132
if: ${{ steps.previous-release-milestone.outputs.version != '' }}
133133
env:

0 commit comments

Comments
 (0)