We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5989217 commit c44d538Copy full SHA for c44d538
generateNotes.js
@@ -2,7 +2,7 @@ const changelog = require('conventional-changelog')
2
const parseUrl = require('github-url-from-git')
3
const execSync = require('child_process').execSync;
4
5
-const lastTag = () => execSync('git describe --tags --abbrev=0 origin/master', { encoding: 'utf8' }).trim();
+const lastTag = () => execSync('git describe --tags --match "v[0-9]*" --abbrev=0 origin/master', { encoding: 'utf8' }).trim();
6
7
module.exports = function (pluginConfig, {pkg}, cb) {
8
const repository = pkg.repository ? parseUrl(pkg.repository.url) : null
0 commit comments