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 c44d538 commit 3508884Copy full SHA for 3508884
generateNotes.js
@@ -2,7 +2,10 @@ 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 --match "v[0-9]*" --abbrev=0 origin/master', { encoding: 'utf8' }).trim();
+const lastTag = () => execSync(
6
+ 'git describe --tags --match "v[0-9]*" --exclude="*dev*" --abbrev=0 origin/master',
7
+ { encoding: 'utf8' }
8
+).trim();
9
10
module.exports = function (pluginConfig, {pkg}, cb) {
11
const repository = pkg.repository ? parseUrl(pkg.repository.url) : null
0 commit comments