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

Commit

Permalink
Chagne Android Version (#2480)
Browse files Browse the repository at this point in the history
* Fix android version

* Ignore android version check during Apache release
  • Loading branch information
YorkShen authored and lucky-chen committed May 24, 2019
1 parent 7479b5c commit 340ec4a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion android/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ checkstyle {
toolVersion = '6.9'
}

version = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : "0.24.0"
version = project.hasProperty('weexVersion') ? project.getProperty('weexVersion') : "0.24.0.1"

//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.
if (!project.hasProperty('ignoreVersionCheck') || !project.getProperty('ignoreVersionCheck').equals("true")) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_from_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ then
echo 'include ":android_sdk"'>settings.gradle
echo "ndk.dir=$2">local.properties

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

cp android_sdk/.externalNativeBuild/cmake/release/armeabi/Source/android/jsengine/libweexjsb.so android_sdk/libs/armeabi
cp android_sdk/.externalNativeBuild/cmake/release/armeabi/Source/android/jsengine/libweexjst.so android_sdk/libs/armeabi
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish_release_official.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ release-it --no-npm --no-git.commit --no-git.requireCleanWorkingDir --git.tagNam

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

# Publish iOS to Cocoapods

0 comments on commit 340ec4a

Please sign in to comment.