Skip to content

Commit

Permalink
Bumped version to 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanocerza committed Jan 5, 2021
1 parent 81cb201 commit e7d1300
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,12 @@ function initSettings() {
return __awaiter(this, void 0, void 0, function* () {
const settings = {};
settings.gitPath = yield io.which('git', true);
const caseInsensitive = core.getInput('case-insensitive-regex');
settings.tagRegex = RegExp(core.getInput('tag-regex'), caseInsensitive);
settings.filterRegex = RegExp(core.getInput('filter-regex'), caseInsensitive);
let regexFlag = '';
if (core.getInput('case-insensitive-regex') === 'true') {
regexFlag = 'i';
}
settings.tagRegex = RegExp(core.getInput('tag-regex'), regexFlag);
settings.filterRegex = RegExp(core.getInput('filter-regex'), regexFlag);
settings.changelogFilePath = core.getInput('changelog-file-path') || 'CHANGELOG.md';
return settings;
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-changelog",
"version": "1.1.0",
"version": "1.2.0",
"private": true,
"description": "Action to generate a changelog from a Git repository commit history.",
"main": "lib/main.js",
Expand Down

0 comments on commit e7d1300

Please sign in to comment.