How to post a message to your Slack channel with cURL (from bash)
I'll get straight to it. Here's the code: VERSION = "$( hg log -r . -T '{node}')" OVERLAY = " ${1 :- staging } " SLACK_CHANNEL = $([[ " $OVERLAY " == 'production' ]] && echo '#prod' || echo '#staging' ) CHANGELOG = $(…