Skip to content

Commit

Permalink
chore: fix version in Slack release notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Piccirello committed May 1, 2021
1 parent 4738a47 commit b954130
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/release/post-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ PACKAGES=$(find dist/*.apk -type f)
publishToCloudsmith alpine alpine any-version "$PACKAGES"

# send Slack notification
MESSAGE="Doppler CLI $CLI_VERSION has been released."
VERSION=$(git describe --abbrev=0)
MESSAGE="Doppler CLI v$VERSION has been released."
curl --tlsv1.2 --proto "=https" -s -X "POST" "$SLACK_WEBHOOK_URL" -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' \
--data-urlencode "payload={\"username\": \"CLI Release Bot\", \"text\": \"$MESSAGE\"}"

0 comments on commit b954130

Please sign in to comment.