mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-30 05:45:44 +08:00
chore(scripts): fix 1.2.x tag name
This commit is contained in:
@@ -99,7 +99,7 @@ function publish {
|
|||||||
if [[ $NEW_VERSION =~ ^1\.2\.[0-9]+$ ]] ; then
|
if [[ $NEW_VERSION =~ ^1\.2\.[0-9]+$ ]] ; then
|
||||||
# publish 1.2.x releases with the appropriate tag
|
# publish 1.2.x releases with the appropriate tag
|
||||||
# this ensures that `npm install` by default will not grab `1.2.x` releases
|
# 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
|
else
|
||||||
# publish releases as "latest"
|
# publish releases as "latest"
|
||||||
npm publish
|
npm publish
|
||||||
|
|||||||
Reference in New Issue
Block a user