chore(release): v1.0.8
This commit is contained in:
14
CHANGELOG.md
14
CHANGELOG.md
@@ -1,5 +1,12 @@
|
||||
## <small>1.0.8 (2021-01-16)</small>
|
||||
|
||||
* fix: bad quotes in url ([4abcb32](https://github.com/simonecorsi/mawesome/commit/4abcb32))
|
||||
|
||||
|
||||
|
||||
## <small>1.0.7 (2021-01-16)</small>
|
||||
|
||||
* chore(release): v1.0.7 ([3c133b8](https://github.com/simonecorsi/mawesome/commit/3c133b8))
|
||||
* feat: better errors ([be667ed](https://github.com/simonecorsi/mawesome/commit/be667ed))
|
||||
|
||||
|
||||
@@ -25,10 +32,3 @@
|
||||
|
||||
|
||||
|
||||
## <small>1.0.3 (2021-01-16)</small>
|
||||
|
||||
* chore(release): v1.0.3 ([d973275](https://github.com/simonecorsi/mawesome/commit/d973275))
|
||||
* fix(action.yml): output file now correct path ([0ffe529](https://github.com/simonecorsi/mawesome/commit/0ffe529))
|
||||
|
||||
|
||||
|
||||
|
5
index.js
5
index.js
@@ -21381,8 +21381,7 @@ const core = __importStar(__nccwpck_require__(2186));
|
||||
const fsp = fs_1.default.promises;
|
||||
const REPO_USERNAME = (_a = process.env.GITHUB_REPOSITORY) === null || _a === void 0 ? void 0 : _a.split('/')[0];
|
||||
const OUTPUT_FILENAME = core.getInput('output-filename') || 'README.md';
|
||||
const USERNAME = process.env.GITHUB_ACTOR || 'simonecorsi';
|
||||
const API_STARRED_URL = `'https://api.github.com/users/${REPO_USERNAME}/starred'`;
|
||||
const API_STARRED_URL = `https://api.github.com/users/${REPO_USERNAME}/starred`;
|
||||
const renderer = (data) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
try {
|
||||
const MD_TEMPLATE = yield fsp.readFile('fixtures/template.md.ejs', 'utf-8');
|
||||
@@ -21446,7 +21445,7 @@ function main() {
|
||||
return acc;
|
||||
}, {});
|
||||
const rendered = yield renderer({
|
||||
username: USERNAME,
|
||||
username: REPO_USERNAME,
|
||||
stars: Object.entries(sortedByLanguages),
|
||||
updatedAt: Date.now(),
|
||||
});
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mawesome",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Reference in New Issue
Block a user