Skip to content

Commit 3a24a5d

Browse files
committed
chore(release): fix nightly release script
1 parent 23480e9 commit 3a24a5d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/cdn/publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Version name is "nightly" or a version number
33
ARG_DEFS=(
44
"--version-name=(.*)"
5+
"--old-version=(.*)"
56
)
67

78
echo "##### "

scripts/circle/deploy.sh

Lines changed: 1 addition & 1 deletion
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"
25+
./scripts/bump/release.sh --new-version="$VERSION" --old-version="$OLD_VERSION"
2626
IS_RELEASE=true
2727
VERSION_NAME=$(readJsonProp "package.json" "version")
2828
else

0 commit comments

Comments
 (0)