chore(scripts): fix 1.2.x tag name

This commit is contained in:
Brian Ford
2014-11-20 15:02:13 -08:00
parent 1c68d00fbf
commit 1b275fb00e

View File

@@ -99,7 +99,7 @@ function publish {
if [[ $NEW_VERSION =~ ^1\.2\.[0-9]+$ ]] ; then
# publish 1.2.x releases with the appropriate tag
# this ensures that `npm install` by default will not grab `1.2.x` releases
npm publish --tag=1.2.x
npm publish --tag=old
else
# publish releases as "latest"
npm publish