diff --git a/README.md b/README.md index a45cfb5..732b620 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,7 @@ Gather commits on tag ```json // package.json devDependencies: { - ... "tui-release-notes": "git+https://github.com/nhnent/tui.release-notes.git" - ... } ``` diff --git a/src/github-release.js b/src/github-release.js index 726a2ae..b2f86a1 100755 --- a/src/github-release.js +++ b/src/github-release.js @@ -7,7 +7,7 @@ const path = require('path'); const pkg = require(path.join(process.cwd(), 'package.json')); const {TUI_GITHUB_TOKEN, apiUrl} = process.env; // eslint-disable-line no-process-env -const GIT_REPO_REGEXP = /\/([\w-]+)\/([\w-]+)\.git\/?$/; // .../user-name/repository-name.git +const GIT_REPO_REGEXP = /\/([\w-]+)\/([\w-.]+)\.git\/?$/; // .../user-name/repository-name.git /** * @example * * sha1sha fixed: some issue (fixes: #122) (author-name)