diff options
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -147,7 +147,7 @@ desc 'Trigger builds for all dependent projects on Travis CI' 'Authorization' => %(token #{token}) } if (commit_hash = ENV['TRAVIS_COMMIT']) - commit_memo = %( (#{commit_hash})\\n\\nhttps://github.com/asciidoctor/asciidoctor/commit/#{commit_hash}) + commit_memo = %( (#{commit_hash})\\n\\nhttps://github.com/#{ENV['TRAVIS_REPO_SLUG'] || 'asciidoctor/asciidoctor'}/commit/#{commit_hash}) end payload = %({ "request": { "branch": "master", "message": "Build triggered by Asciidoctor#{commit_memo}" } }) (http = Net::HTTP.new 'api.travis-ci.org', 443).use_ssl = true |
