From 37c78d5001610f02576effd5d6574678188b3894 Mon Sep 17 00:00:00 2001 From: Max Lv Date: Fri, 18 Jan 2019 17:12:15 +0800 Subject: [PATCH] Bump version --- app/build.gradle | 4 ++-- release.sh | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100755 release.sh diff --git a/app/build.gradle b/app/build.gradle index 3a4b904..a5661e8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -24,8 +24,8 @@ android { applicationId "com.github.shadowsocks.plugin.v2ray" minSdkVersion rootProject.minSdkVersion targetSdkVersion 28 - versionCode 1010000 - versionName "1.1.0" + versionCode 1020000 + versionName "1.2.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..bb917fc --- /dev/null +++ b/release.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +release=$1 +cp app/build/outputs/apk/release/app-armeabi-v7a-release.apk v2ray-armeabi-v7a-${release}.apk +cp app/build/outputs/apk/release/app-arm64-v8a-release.apk v2ray-arm64-v8a-${release}.apk +cp app/build/outputs/apk/release/app-x86-release.apk v2ray-x86-${release}.apk +cp app/build/outputs/apk/release/app-x86_64-release.apk v2ray-x86_64-${release}.apk +cp app/build/outputs/apk/release/app-universal-release.apk v2ray--universal-${release}.apk