Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 96302c1

Browse files
committed
Fix Travis PyPI release -> RocketChat notifications
1 parent 1a9ba73 commit 96302c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.release_notify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
PAYLOAD="{\"text\": \"<https://pypi.python.org/pypi/ethereum|ethereum $TRAVIS_TAG> was released on pypi!\"}"
33
curl -s -X POST --data-urlencode "payload=$PAYLOAD" $SLACK_WEBHOOK_URL
44

5-
PAYLOAD="{\"text\": \"[ethereum $TRAVIS_TAG](https://pypi.org/project/ethereum) was released on PyPI!\"}"
5+
PAYLOAD="{\"attachments\":[{\"text\":\"[ethereum $TRAVIS_TAG](https://pypi.org/project/ethereum) was released on PyPI!\",\"color\":\"good\"}]}"
66
curl -s -X POST --data-urlencode "payload=$PAYLOAD" $ROCKETCHAT_URL

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
global:
1515
- COVERAGE_APPEND="--append"
1616
- secure: cKbIgpTJ1yjKLBxpCEiT6IH7NShDWZUE+BvnrAfc+ujCsR6LyLJcKxFQmKnWryJCqg7fp82Ep2bF2oDKzanAROar2xDY1SFGbai42seYMaFCw53YPGJ6u3VNCcfT0rN9BWgE7el/m4fjcD6CRsZYKArNNJbMX8csRt3uXXCFLso=
17-
- secure: "Gj9H2vW9ifusxbKLt8mT2G47ExewU9XFcRHDvULfn2hHhJH5cz0kOnW4I5W0EPAits0BRPZJClZV0PgDuo+zDjtEMrhDQYEmvb4KE5euLIm1xmQSkXYhErKxxSdIXSujiJbz4TT/V3FTtpmJWDaSzfwPy2PTK5bjbS+U3h3AlG4="
17+
- secure: "QyFPrxQHd2LlNQ6zNeTFYhgPmZaOHoWuywcgn8qaSOh6PklyFxHbexkwg0bl23JvtgNEZ1mCD8j0x1/ydSdtxgCFwK9SEL0h7aYuAq+OAIa/G18OPeTJMf7ASsb2QZdfkt9reFpUnjbadzHkuv+rqqb4bFnTJBKwB2LWzHPLhWg="
1818
install:
1919
- travis_retry pip install setuptools --upgrade
2020
- travis_retry pip install tox

0 commit comments

Comments
 (0)