Skip to content

Commit f9de4fa

Browse files
author
youjung-hong
committed
chore: change regexp
1 parent 0ae4d3b commit f9de4fa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ Gather commits on tag
66
```json
77
// package.json
88
devDependencies: {
9-
...
109
"tui-release-notes": "git+https://github.com/nhnent/tui.release-notes.git"
11-
...
1210
}
1311
```
1412

src/github-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const path = require('path');
77
const pkg = require(path.join(process.cwd(), 'package.json'));
88
const {TUI_GITHUB_TOKEN, apiUrl} = process.env; // eslint-disable-line no-process-env
99

10-
const GIT_REPO_REGEXP = /\/([\w-]+)\/([\w-]+)\.git\/?$/; // .../user-name/repository-name.git
10+
const GIT_REPO_REGEXP = /\/([\w-]+)\/([\w-.]+)\.git\/?$/; // .../user-name/repository-name.git
1111
/**
1212
* @example
1313
* * sha1sha fixed: some issue (fixes: #122) (author-name)

0 commit comments

Comments
 (0)