auto-release-cli
Advanced tools
Comparing version 2.4.1 to 2.4.2
@@ -0,1 +1,13 @@ | ||
# v2.4.2 (Wed Jan 16 2019) | ||
#### 🐛 Bug Fix | ||
- Fix github repo lookup [#193](https://github.com/intuit/auto-release/pull/193) ([@adierkens](https://github.com/adierkens)) | ||
#### Authors: 1 | ||
- Adam Dierkens ([@adierkens](https://github.com/adierkens)) | ||
--- | ||
# v2.4.1 (Tue Jan 15 2019) | ||
@@ -2,0 +14,0 @@ |
@@ -143,3 +143,3 @@ #!/usr/bin/env node | ||
this.hooks.beforeRun.call(config); | ||
return [4 /*yield*/, this.getRepo()]; | ||
return [4 /*yield*/, this.getRepo(config)]; | ||
case 2: | ||
@@ -639,9 +639,7 @@ repository = _b.sent(); | ||
}; | ||
AutoRelease.prototype.getRepo = function () { | ||
AutoRelease.prototype.getRepo = function (config) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
if (this.githubRelease && | ||
this.githubRelease.releaseOptions.repo && | ||
this.githubRelease.releaseOptions.owner) { | ||
return [2 /*return*/, this.githubRelease.releaseOptions]; | ||
if (config.owner && config.repo) { | ||
return [2 /*return*/, config]; | ||
} | ||
@@ -648,0 +646,0 @@ return [2 /*return*/, this.hooks.getRepository.promise()]; |
{ | ||
"name": "auto-release-cli", | ||
"description": "CLI tools to help facilitate semantic versioning based on GitHub PR labels", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"main": "dist/main.js", | ||
@@ -6,0 +6,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
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
343493
4421