chore(release): fix nightly release script

This commit is contained in:
Andrew
2015-04-27 15:50:28 -05:00
parent 23480e935c
commit 3a24a5d96c
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
# Version name is "nightly" or a version number
ARG_DEFS=(
"--version-name=(.*)"
"--old-version=(.*)"
)
echo "##### "

View File

@@ -22,7 +22,7 @@ function run {
VERSION=$(readJsonProp "package.json" "version")
if [[ "$OLD_VERSION" != "$VERSION" ]]; then
./scripts/bump/release.sh --new-version="$VERSION"
./scripts/bump/release.sh --new-version="$VERSION" --old-version="$OLD_VERSION"
IS_RELEASE=true
VERSION_NAME=$(readJsonProp "package.json" "version")
else