chore(release): v1.0.10

This commit is contained in:
Conventional Changelog Action 2021-01-16 10:06:10 +00:00
parent bd470783b8
commit c2a11da780
3 changed files with 10 additions and 14 deletions

View File

@ -1,5 +1,12 @@
## <small>1.0.10 (2021-01-16)</small>
* fix: splitting tokens ([b876c92](https://github.com/simonecorsi/mawesome/commit/b876c92))
## <small>1.0.9 (2021-01-16)</small>
* chore(release): v1.0.9 ([e82522d](https://github.com/simonecorsi/mawesome/commit/e82522d))
* fix: better errors ([a6f8510](https://github.com/simonecorsi/mawesome/commit/a6f8510))
@ -25,10 +32,3 @@
## <small>1.0.5 (2021-01-16)</small>
* chore(release): v1.0.5 ([a8d14e1](https://github.com/simonecorsi/mawesome/commit/a8d14e1))
* fix: imports ([1146fe7](https://github.com/simonecorsi/mawesome/commit/1146fe7))

View File

@ -21213,7 +21213,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
Object.defineProperty(exports, "__esModule", ({ value: true }));
const got_1 = __importDefault(__nccwpck_require__(3061));
const core = __importStar(__nccwpck_require__(2186));
const GITHUB_TOKEN = core.getInput('github-token', { required: true });
const GITHUB_TOKEN = core.getInput('api-token', { required: true });
exports.default = got_1.default.extend({
headers: {
Authorization: `token ${GITHUB_TOKEN}`,
@ -21262,11 +21262,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
const core = __importStar(__nccwpck_require__(2186));
const exec = __importStar(__nccwpck_require__(1514));
const { GITHUB_REPOSITORY, GITHUB_REF } = process.env;
const IS_TEST = process.env.NODE_ENV === 'test';
const branch = GITHUB_REF === null || GITHUB_REF === void 0 ? void 0 : GITHUB_REF.replace('refs/heads/', '');
exports.default = new (class Git {
constructor() {
this.commandsRun = [];
this.exec = (command) => {
return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {
let execOutput = '';
@ -21302,8 +21300,6 @@ exports.default = new (class Git {
});
this.push = () => this.exec(`push origin ${branch} --follow-tags`);
this.isShallow = () => __awaiter(this, void 0, void 0, function* () {
if (IS_TEST)
return false;
const isShallow = yield this.exec('rev-parse --is-shallow-repository');
return isShallow.trim().replace('\n', '') === 'true';
});
@ -21457,7 +21453,7 @@ function run() {
process.exit(0);
}
catch (error) {
core.error('#catchAll:');
core.error('#run:');
core.error(error);
process.exit(1);
}

View File

@ -1,6 +1,6 @@
{
"name": "mawesome",
"version": "1.0.9",
"version": "1.0.10",
"description": "",
"main": "index.js",
"scripts": {