@ioffice/tc-builder
Advanced tools
Comparing version 2.1.0 to 2.1.1
{ | ||
"name": "@ioffice/tc-builder", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "iOFFICE TeamCity Builder", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -106,7 +106,18 @@ "use strict"; | ||
type: 'button', | ||
text: "Github #" + num, | ||
text: "PR #" + num, | ||
url: "https://github.com/" + env.owner + "/" + env.repo + "/pull/" + num, | ||
}]; | ||
} | ||
return []; | ||
if (env.isRelease) { | ||
return [{ | ||
type: 'button', | ||
text: env.packageName + "@" + env.packageVersion, | ||
url: "https://github.com/" + env.owner + "/" + env.repo + "/releases/tag/" + env.packageVersion, | ||
}]; | ||
} | ||
return [{ | ||
type: 'button', | ||
text: 'Github', | ||
url: "https://github.com/" + env.owner + "/" + env.repo, | ||
}]; | ||
}; | ||
@@ -113,0 +124,0 @@ AbstractSlack.prototype.createAttachment = function () { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
110072
2617