chore(release): v1.0.28
This commit is contained in:
parent
b8890fc6d7
commit
c8058222e5
@ -1,5 +1,12 @@
|
||||
## <small>1.0.28 (2021-01-16)</small>
|
||||
|
||||
* tests: added tests ([b8890fc](https://github.com/simonecorsi/mawesome/commit/b8890fc))
|
||||
|
||||
|
||||
|
||||
## <small>1.0.27 (2021-01-16)</small>
|
||||
|
||||
* chore(release): v1.0.27 ([bf07858](https://github.com/simonecorsi/mawesome/commit/bf07858))
|
||||
* docs: typo ([46172a5](https://github.com/simonecorsi/mawesome/commit/46172a5))
|
||||
|
||||
|
||||
|
6
index.js
6
index.js
@ -20801,6 +20801,7 @@ function factory(key, options) {
|
||||
* https://github.com/jhermsmeier/node-http-link-header
|
||||
*/
|
||||
|
||||
/* istanbul ignore file */
|
||||
|
||||
|
||||
var COMPATIBLE_ENCODING_PATTERN = /^utf-?8|ascii|utf-?16-?le|ucs-?2|base-?64|latin-?1$/i;
|
||||
@ -21263,7 +21264,7 @@ const core = __importStar(__nccwpck_require__(2186));
|
||||
const exec = __importStar(__nccwpck_require__(1514));
|
||||
const { GITHUB_REPOSITORY, GITHUB_REF } = process.env;
|
||||
const branch = GITHUB_REF === null || GITHUB_REF === void 0 ? void 0 : GITHUB_REF.replace('refs/heads/', '');
|
||||
exports.default = new (class Git {
|
||||
class Git {
|
||||
constructor() {
|
||||
this.isShallow = () => __awaiter(this, void 0, void 0, function* () {
|
||||
const isShallow = yield this.exec('rev-parse --is-shallow-repository');
|
||||
@ -21314,7 +21315,8 @@ exports.default = new (class Git {
|
||||
// Update the origin
|
||||
this.updateOrigin(`https://x-access-token:${githubToken}@github.com/${GITHUB_REPOSITORY}.git`);
|
||||
}
|
||||
})();
|
||||
}
|
||||
exports.default = new Git();
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mawesome",
|
||||
"version": "1.0.27",
|
||||
"version": "1.0.28",
|
||||
"description": "Generate awesome list from user starred repositories",
|
||||
"main": "index.js",
|
||||
"author": "Simone Corsi<simonecorsi.dev@gmail.com>",
|
||||
@ -66,4 +66,4 @@
|
||||
"volta": {
|
||||
"node": "14.15.4"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user