changelog.md
Advanced tools
Comparing version 0.3.2 to 1.0.0
@@ -0,1 +1,18 @@ | ||
## [Version 1.0.0](https://github.com/egoist/changelog.md/releases/tag/v1.0.0) (2017-1-8) | ||
### Patches | ||
- tweak issue id regexp: [`bd51b10`](https://github.com/egoist/changelog.md/commit/bd51b10) | ||
[...full changes](https://github.com/egoist/changelog.md/compare/v0.3.3...v1.0.0) | ||
## [Version 0.3.3](https://github.com/egoist/changelog.md/releases/tag/v0.3.3) (2017-1-8) | ||
### Minor Changes | ||
- tweak cli prompts: [`f95d6cf`](https://github.com/egoist/changelog.md/commit/f95d6cf) | ||
- Reference Issues and PRs, closed [#10](https://github.com/egoist/changelog.md/issues/10): [`52c9719`](https://github.com/egoist/changelog.md/commit/52c9719) | ||
[...full changes](https://github.com/egoist/changelog.md/compare/v0.3.2...v0.3.3) | ||
## [Version 0.3.2](https://github.com/egoist/changelog.md/releases/tag/v0.3.2) (2017-1-4) | ||
@@ -2,0 +19,0 @@ |
@@ -79,2 +79,4 @@ 'use strict' | ||
console.log(chalk.cyan('Please enter the type of change for each commit:\n')) | ||
const answers = yield inquirer.prompt(commits | ||
@@ -84,3 +86,3 @@ .filter(commit => !commit.type) | ||
name: commit.commit.short, | ||
message: `Pick a type for commit: \`${commit.subject}\``, | ||
message: commit.subject, | ||
type: 'list', | ||
@@ -87,0 +89,0 @@ choices: [ |
@@ -43,3 +43,3 @@ 'use strict' | ||
const re = /\s+\(#([0-9]+)\)/ | ||
const matchGitHubSquashed = re.exec(commit.subject) | ||
const matchGitHubSquashed = re.exec(title) | ||
if (matchGitHubSquashed) { | ||
@@ -51,2 +51,6 @@ title = title.replace(re, '') | ||
// match something like closed #1 / fixed #1 / related to #1 | ||
// https://github.com/egoist/changelog.md/issues/10 | ||
title = title.replace(/\s+#([\d]+)$/, ` [#$1](${url}issues/$1)`) | ||
return `- ${title}: [\`${commit.commit.short}\`](${url}commit/${commit.commit.short})${ref}` | ||
@@ -53,0 +57,0 @@ }).join('\n')} |
{ | ||
"name": "changelog.md", | ||
"version": "0.3.2", | ||
"version": "1.0.0", | ||
"description": "Manage CHANGELOG.md so easy it hurts.", | ||
@@ -5,0 +5,0 @@ "repository": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
18731
325
0