Skip to content

Commit

Permalink
chore: change regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
youjung-hong committed Aug 18, 2017
1 parent 0ae4d3b commit f9de4fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ Gather commits on tag
```json
// package.json
devDependencies: {
...
"tui-release-notes": "git+https://github.com/nhnent/tui.release-notes.git"
...
}
```

Expand Down
2 changes: 1 addition & 1 deletion src/github-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f9de4fa

Please sign in to comment.