Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-hg-release

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-hg-release - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc