We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It fires the last registration multiple times instead of firing each registration. This is due to a missing closure in the loop.
The text was updated successfully, but these errors were encountered:
7810800
Merge branch 'dev'
5ba740b
* dev: Fix for proper semver prerelease naming. diff --git a/Gruntfile.js b/Gruntfile.js old mode 100644 new mode 100755 index ffbc053..d666d0e --- a/Gruntfile.js +++ b/Gruntfile.js @@ -289,7 +289,13 @@ module.exports = function (grunt) { var version = grunt.file.readJSON('version.json'); // Allow the build to be set from the command line: grunt --buildNum=123 version.build = grunt.option('buildNum') || 0; - version.info = '<%= version.major %>.<%= version.minor %>.<%= version.patch %>+<%= version.build %>.<%= gitInfo.branch %>.<%= gitInfo.revId %>'; + + var gitInfo = grunt.config.get('gitInfo'); + if (gitInfo.branch === 'master') { + version.info = '<%= version.major %>.<%= version.minor %>.<%= version.patch %>+master.<%= version.build %>.<%= gitInfo.revId %>'; + } else { + version.info = '<%= version.major %>.<%= version.minor %>.<%= version.patch %>-<%= gitInfo.branch %>+<%= version.build %>.<%= gitInfo.revId %>'; + } grunt.config.set('version', version); var infoVers = grunt.template.process(version.info); grunt.log.writeln('Current build version: ' + infoVers); Added closure to the async loop to capture the proper callback fn. Fixes #1 diff --git a/src/EventHandler.coffee b/src/EventHandler.coffee old mode 100644 new mode 100755 index 10185fa..5c1a5f1 --- a/src/EventHandler.coffee +++ b/src/EventHandler.coffee @@ -24,10 +24,11 @@ Fix repo path npm requires lowercase names dev is now v0.2
No branches or pull requests
It fires the last registration multiple times instead of firing each registration. This is due to a missing closure in the loop.
The text was updated successfully, but these errors were encountered: