Skip to content

Commit

Permalink
remove unused variable (still test-referencing #3467)
Browse files Browse the repository at this point in the history
  • Loading branch information
fm3 committed Nov 19, 2018
1 parent e0eb51c commit a85e9e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/slack-notification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ if [ "${CIRCLE_BRANCH}" == "master" ] || [ "${CIRCLE_BRANCH}" == "master" ] ; th
pullregex="(.*)#([0-9]+)(.*)"
while [[ $commitmsg =~ $pullregex ]]
do
commitmsg="${BASH_REMATCH[1]}#<https://https://github.com/scalableminds/webknossos/issues/${BASH_REMATCH[2]}|${BASH_REMATCH[2]}>${BASH_REMATCH[3]}"
commitmsg="${BASH_REMATCH[1]}#<https://github.com/scalableminds/webknossos/issues/${BASH_REMATCH[2]}|${BASH_REMATCH[2]}>${BASH_REMATCH[3]}"
done
buildlink="<https://circleci.com/gh/scalableminds/webknossos/${CIRCLE_BUILD_NUM}|${CIRCLE_BUILD_NUM}>"
prlink="<https://github.com/scalableminds/webknossos/pull/${CIRCLE_PR_NUMBER:=0}|#${CIRCLE_PR_NUMBER:=0}>"
mesg="${author} your ${CIRCLE_BRANCH} build ${buildlink}${commitmsg}” is almost finished."
user="circleci-notify"
token="${SLACK_NOTIFY_TOKEN:-}"
Expand Down

0 comments on commit a85e9e2

Please sign in to comment.