Browse Source

Fixing publishing part of release script.

... to the best of my knowledge.
Herbert Vojčík 10 năm trước cách đây
mục cha
commit
9cf2437106
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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`