chore(release): v1.0.17
This commit is contained in:
parent
914a11532f
commit
380a0ec513
@ -1,6 +1,13 @@
|
|||||||
|
## <small>1.0.17 (2021-01-16)</small>
|
||||||
|
|
||||||
|
* fix: exit condition ([914a115](https://github.com/simonecorsi/mawesome/commit/914a115))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## <small>1.0.16 (2021-01-16)</small>
|
## <small>1.0.16 (2021-01-16)</small>
|
||||||
|
|
||||||
* chore: moved helpers in own file ([29bcf41](https://github.com/simonecorsi/mawesome/commit/29bcf41))
|
* chore: moved helpers in own file ([29bcf41](https://github.com/simonecorsi/mawesome/commit/29bcf41))
|
||||||
|
* chore(release): v1.0.16 ([f8cb892](https://github.com/simonecorsi/mawesome/commit/f8cb892))
|
||||||
* fix: if tempalte fail should exit(1) ([ee824d1](https://github.com/simonecorsi/mawesome/commit/ee824d1))
|
* fix: if tempalte fail should exit(1) ([ee824d1](https://github.com/simonecorsi/mawesome/commit/ee824d1))
|
||||||
|
|
||||||
|
|
||||||
|
18
index.js
18
index.js
@ -21229,7 +21229,7 @@ exports.default = got_1.default.extend({
|
|||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
// original content by: github.com/TriPSs/conventional-changelog-action/blob/master/src/helpers/git.js
|
// original content by: https://github.com/TriPSs/conventional-changelog-action/blob/master/src/helpers/git.js
|
||||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||||
if (k2 === undefined) k2 = k;
|
if (k2 === undefined) k2 = k;
|
||||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||||
@ -21381,9 +21381,8 @@ function renderer(data, templateString = template_1.default) {
|
|||||||
return ejs_1.default.render(templateString, data);
|
return ejs_1.default.render(templateString, data);
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.error('#renderer');
|
core.setFailed(`#renderer: ${error}`);
|
||||||
core.error(error);
|
return '';
|
||||||
process.exit(1);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -21406,7 +21405,7 @@ let links = {
|
|||||||
};
|
};
|
||||||
function paginate() {
|
function paginate() {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
if (!isLastPage(links))
|
if (isLastPage(links))
|
||||||
return null;
|
return null;
|
||||||
const r = yield apiGetStar(links.next);
|
const r = yield apiGetStar(links.next);
|
||||||
links = r.links;
|
links = r.links;
|
||||||
@ -21515,20 +21514,15 @@ function run() {
|
|||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
try {
|
try {
|
||||||
yield main();
|
yield main();
|
||||||
process.exit(0);
|
|
||||||
}
|
}
|
||||||
catch (error) {
|
catch (error) {
|
||||||
core.error('#run:');
|
core.setFailed(`#run: ${error}`);
|
||||||
core.error(error);
|
|
||||||
process.exit(1);
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
exports.run = run;
|
exports.run = run;
|
||||||
const catchAll = (info) => {
|
const catchAll = (info) => {
|
||||||
core.error('#catchAll');
|
core.setFailed(`#catchAll: ${info}`);
|
||||||
core.error(info);
|
|
||||||
process.exit(1);
|
|
||||||
};
|
};
|
||||||
process.on('unhandledRejection', catchAll);
|
process.on('unhandledRejection', catchAll);
|
||||||
process.on('uncaughtException', catchAll);
|
process.on('uncaughtException', catchAll);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mawesome",
|
"name": "mawesome",
|
||||||
"version": "1.0.16",
|
"version": "1.0.17",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user