grunt-hg-release
Advanced tools
Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "grunt-hg-release", | ||
"description": "Release a new version of your Node-based project using hg/Mercurial", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"homepage": "https://github.com/accordionpeas/grunt-hg-release", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -47,7 +47,7 @@ # grunt-hg-release | ||
Type: `String` | ||
Default value: `'release-<%= version %>'` | ||
Default value: `'{{version}}'` | ||
#### options.tag | ||
Type: `String` | ||
Default value: `'release-<%= version %>'` | ||
Default value: `'{{version}}'` | ||
@@ -83,2 +83,3 @@ The tag commit message. | ||
## Release History | ||
* 2015-05-26 v0.2.2 Overwriting grunt templates as options doesn't work, so use different template syntax. | ||
* 2014-07-03 v0.2.1 Bumped version after pull request merge. | ||
@@ -85,0 +86,0 @@ * 2014-07-03 v0.2.0 Log the new version to the console. |
@@ -17,4 +17,4 @@ /* | ||
options = this.options({ | ||
commit: 'release-<%= version %>', | ||
tag: 'release-<%= version %>' | ||
commit: '{{version}}', | ||
tag: '{{version}}' | ||
}); | ||
@@ -50,3 +50,3 @@ | ||
function getMessage(template, version){ | ||
return grunt.template.process(template, {data: {version: version}}); | ||
return template.replace(/{{version}}/g, version); | ||
} | ||
@@ -53,0 +53,0 @@ |
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
5429
86