mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(release): fix nightly release script
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
# Version name is "nightly" or a version number
|
||||
ARG_DEFS=(
|
||||
"--version-name=(.*)"
|
||||
"--old-version=(.*)"
|
||||
)
|
||||
|
||||
echo "##### "
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user