浏览代码

Fixing publishing part of release script.

... to the best of my knowledge.
Herbert Vojčík 11 年之前
父节点
当前提交
9cf2437106
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      bin/release.sh

+ 3 - 2
bin/release.sh

@@ -12,8 +12,9 @@ if [ "$VER" = "0" ]; then :; else
 	rm package.json.bak
 	echo git commit -a -m "Release version $VER"
 	echo git tag -a "$VER"
-	echo bower upload
-	echo npm upload
+#	echo bower upload
+# bower does not publish explicitly but implictly via semver tag
+	echo npm publish
 fi
 echo -n "Which version are you going to work on? "
 VERF=`head -n 1`