这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 8546eb8

Browse files
Changed!: Rename app/build.gradle environmental variables to TERMUX_FLOAT_APP__BUILD__ scope instead of TERMUX_FLOAT_APP_BUILD__
- Renamed `TERMUX_FLOAT_APP_BUILD__APP_VERSION_NAME` to `TERMUX_FLOAT_APP__BUILD__APP_VERSION_NAME` - Renamed `TERMUX_FLOAT_APP_BUILD__APK_VERSION_TAG` to `TERMUX_FLOAT_APP__BUILD__APK_VERSION_TAG`
1 parent 829d016 commit 8546eb8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/github_action_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
echo "APK_BASENAME_PREFIX=$APK_BASENAME_PREFIX" >> $GITHUB_ENV
4848
4949
echo "Building APK file for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag"
50-
export TERMUX_FLOAT_APP_BUILD__APP_VERSION_NAME="${RELEASE_VERSION_NAME/v/}" # Used by app/build.gradle
51-
export TERMUX_FLOAT_APP_BUILD__APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
50+
export TERMUX_FLOAT_APP__BUILD__APP_VERSION_NAME="${RELEASE_VERSION_NAME/v/}" # Used by app/build.gradle
51+
export TERMUX_FLOAT_APP__BUILD__APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
5252
if ! ./gradlew assembleDebug; then
5353
exit_on_error "Build failed for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag."
5454
fi

.github/workflows/github_release_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
APK_BASENAME_PREFIX="termux-float-app_$APK_VERSION_TAG"
3939
4040
echo "Building APK file for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag"
41-
export TERMUX_FLOAT_APP_BUILD__APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
41+
export TERMUX_FLOAT_APP__BUILD__APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
4242
if ! ./gradlew assembleDebug; then
4343
exit_on_error "Build failed for '$RELEASE_VERSION_NAME' release with '$APK_VERSION_TAG' tag."
4444
fi

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdk project.properties.compileSdkVersion.toInteger()
5-
def appVersionName = System.getenv("TERMUX_FLOAT_APP_BUILD__APP_VERSION_NAME") ?: ""
6-
def apkVersionTag = System.getenv("TERMUX_FLOAT_APP_BUILD__APK_VERSION_TAG") ?: ""
5+
def appVersionName = System.getenv("TERMUX_FLOAT_APP__BUILD__APP_VERSION_NAME") ?: ""
6+
def apkVersionTag = System.getenv("TERMUX_FLOAT_APP__BUILD__APK_VERSION_TAG") ?: ""
77

88
defaultConfig {
99
applicationId "com.termux.window"

0 commit comments

Comments
 (0)