Browse Source

Fix Slack script

master
Matheus Fernandes 8 years ago
parent
commit
b035f500dd
No known key found for this signature in database GPG Key ID: DD07CA4EA7B65C4F
  1. 6
      scripts/slack.js

6
scripts/slack.js

@ -51,9 +51,9 @@ fetch(`https://api.github.com/repos/${repo}/commits/${commit}`, opts)
const message = `:package: Here are the binaries for the branch *${branch}* of *${repo}* (commit <https://github.com/${repo}/commit/${commit}|${commit.substr(0, 7)}> by <${res.authorUrl}|${res.authorName}>):`
const binaries = [
`${__dirname}/../../packed/now-macos`,
`${__dirname}/../../packed/now-linux`,
`${__dirname}/../../packed/now-win.exe`
`${__dirname}/../packed/now-macos`,
`${__dirname}/../packed/now-linux`,
`${__dirname}/../packed/now-win.exe`
]
try {

Loading…
Cancel
Save