Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit 340ec4a

Browse files
YorkShenlucky-chen
authored andcommitted
Chagne Android Version (#2480)
* Fix android version * Ignore android version check during Apache release
1 parent 7479b5c commit 340ec4a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/sdk/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ checkstyle {
6363
toolVersion = '6.9'
6464
}
6565

66-
version = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : "0.24.0"
66+
version = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : "0.24.0.1"
6767

6868
//Check version, the version must have 4 sections. The leading three section must be number, and the last section is odd number with or without suffix string.
6969
if (!project.hasProperty('ignoreVersionCheck') || !project.getProperty('ignoreVersionCheck').equals("true")) {

scripts/build_from_source.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ then
7474
echo 'include ":android_sdk"'>settings.gradle
7575
echo "ndk.dir=$2">local.properties
7676

77-
./gradlew :android_sdk:clean :android_sdk:assembleRelease
77+
./gradlew :android_sdk:clean :android_sdk:assembleRelease -PignoreVersionCheck="true"
7878

7979
cp android_sdk/.externalNativeBuild/cmake/release/armeabi/Source/android/jsengine/libweexjsb.so android_sdk/libs/armeabi
8080
cp android_sdk/.externalNativeBuild/cmake/release/armeabi/Source/android/jsengine/libweexjst.so android_sdk/libs/armeabi

scripts/publish_release_official.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ release-it --no-npm --no-git.commit --no-git.requireCleanWorkingDir --git.tagNam
5858

5959
# Publish Android to JCenter
6060
cd android
61-
./gradlew clean install bintray -Pweexversion="$1" -PbintrayUser=alibabaweex -PbintrayApiKey="$6"
61+
./gradlew clean install bintray -PignoreVersionCheck="true" -Pweexversion="$1" -PbintrayUser=alibabaweex -PbintrayApiKey="$6"
6262

6363
# Publish iOS to Cocoapods

0 commit comments

Comments
 (0)