Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support renamed tasks #35

Closed
wants to merge 1 commit into from
Closed

support renamed tasks #35

wants to merge 1 commit into from

Conversation

jesucarr
Copy link

No description provided.

var tagName = grunt.config.getRaw('release.options.tagName') || '<%= version %>';
var commitMessage = grunt.config.getRaw('release.options.commitMessage') || 'release <%= version %>';
var tagMessage = grunt.config.getRaw('release.options.tagMessage') || 'version <%= version %>';
}, grunt.config(this.name).options);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious, what is the purpose of merging this.name in with the options?

@jesucarr
Copy link
Author

jesucarr commented Aug 6, 2013

because if you use directly 'release' and the name is changed with renameTask, it will still look for 'release' in the config instead of the new name

@jesucarr jesucarr mentioned this pull request Oct 31, 2014
@drublic
Copy link
Collaborator

drublic commented Dec 3, 2014

Thanks so much for this PR. Please see 1a37416. It landed in there :)

@drublic drublic closed this Dec 3, 2014
@drublic drublic mentioned this pull request Jan 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants