Skip to content

Commit dae944c

Browse files
committed
chore(deploy): fix extra arg given
1 parent 2687bc4 commit dae944c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/circle/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function run {
2222
VERSION=$(readJsonProp "package.json" "version")
2323

2424
if [[ "$OLD_VERSION" != "$VERSION" ]]; then
25-
./scripts/bump/release.sh --new-version="$VERSION" --old-version="$OLD_VERSION"
25+
./scripts/bump/release.sh --new-version="$VERSION"
2626
IS_RELEASE=true
2727
VERSION_NAME=$(readJsonProp "package.json" "version")
2828
else
@@ -67,7 +67,7 @@ function run {
6767
;;
6868
4)
6969
# Update cdn
70-
./scripts/cdn/publish.sh --version-name="$VERSION_NAME"
70+
./scripts/cdn/publish.sh --version-name="$VERSION_NAME" --old-version="$OLD_VERSION"
7171
;;
7272
5)
7373
# Update bower

0 commit comments

Comments
 (0)