release-it
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -178,3 +178,4 @@ var util = require('./util'), | ||
if(options.changelogCommand) { | ||
var prevTag = config.process.get('prevVersion') || options.prevVersion; | ||
var prevVersion = config.process.get('prevVersion') || options.prevVersion; | ||
var prevTag = util.format(options.tagName, prevVersion); | ||
return tagExists(prevTag).then(function(hasTag) { | ||
@@ -214,3 +215,3 @@ var command = options.changelogCommand.replace(/\[REV_RANGE\]/, hasTag ? prevTag + '...HEAD' : ''); | ||
githubClient.repos.createRelease({ | ||
user: repo.owner, | ||
owner: repo.owner, | ||
repo: repo.project, | ||
@@ -217,0 +218,0 @@ tag_name: util.format(options.tagName, options.version), |
{ | ||
"name": "release-it", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Interactive release tool for Git repositories. Increment version, commit, tag, push, build, publish to npm. Supports to build and release to a distribution/component repository.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46078
1043