Skip to content

Commit

Permalink
Fix Slack notifications (#57)
Browse files Browse the repository at this point in the history
* Fix Slack notifications

* Fix version

* Fix version
  • Loading branch information
arddluma authored Jun 11, 2021
1 parent 34cfbfe commit 285776e
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/announcePublish.sh
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ cat <<EOM
"pretext": "A new version of $applicationName is available for use. :circleci-pass:",
"title": "$CIRCLE_PROJECT_REPONAME",
"title_link": "https://github.com/etherspot/etherspot-sdk/releases/tag/$package",
"text": "Version: $package",
"text": "Version: etherspot-sdk@$package",
"ts": $(date '+%s')
}
]
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -54,7 +54,7 @@ jobs:
name: Announce Publish
command: |
chmod +x .circleci/announcePublish.sh
.circleci/announcePublish.sh "Etherspot SDK" "$(node -e "console.log(require('./package.json').name)")@$(node -e "console.log(require('./package.json').version)")"
.circleci/announcePublish.sh "Etherspot SDK" "$(node -e "console.log(require('./package.json').version)")"
- slack/status:
fail_only: true
failure_message: "Triggered by: *${CIRCLE_USERNAME}* \n\n Ooops! The *$CIRCLE_JOB* job has failed! :circleci-fail:"
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "etherspot",
"version": "1.4.3",
"version": "1.4.4",
"description": "Etherspot SDK",
"keywords": [
"ether",

0 comments on commit 285776e

Please sign in to comment.