Skip to content

Commit

Permalink
fix(version): replacing version only on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Apr 6, 2016
1 parent 78b4812 commit e72d96a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@ module.exports = function(grunt) {
grunt.registerTask('doc', ['xplain', 'toc', 'readme']);
grunt.registerTask('version', ['string-replace']);
grunt.registerTask('default',
['nice-package', 'deps-ok', 'sync', 'string-replace', 'uglify', 'doc']);
['nice-package', 'deps-ok', 'sync', 'uglify', 'doc']);
};
2 changes: 1 addition & 1 deletion dist/check-more-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ return /******/ (function(modules) { // webpackBootstrap
check.mixin(predicates[name], name)
})

check.VERSION = '0.0.0'
check.VERSION = '{{ packageVersion }}'

module.exports = check

Expand Down
2 changes: 1 addition & 1 deletion dist/check-more-types.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e72d96a

Please sign in to comment.