Browse Source

update tasks

Evan You 12 năm trước cách đây
mục cha
commit
44f1078a96
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 1
      tasks/build.js
  2. 1 0
      tasks/release.js

+ 1 - 1
tasks/build.js

@@ -8,7 +8,7 @@ var dest = './dist',
     headerText,
     headerTemplate =
     '/*\n' +
-    ' VueJS v{{version}}\n' +
+    ' Vue.js v{{version}}\n' +
     ' (c) 2014 Evan You\n' +
     ' License: MIT\n' +
     '*/\n'

+ 1 - 0
tasks/release.js

@@ -20,6 +20,7 @@ module.exports = function (grunt) {
             .then('git tag v' + version)
             .then('git push')
             .then('git push origin v' + version)
+            .then('npm publish')
             .run(this.async(), function (err) {
                 grunt.fail.fatal(err)
             })