Skip to content

Commit 6fb138c

Browse files
Changed!: Rename app/build.gradle environmental variables to TERMUX_TASKER_APP_BUILD__ scope instead of TERMUX_TASKER_
- Renamed `TERMUX_TASKER_APP_VERSION_NAME` to `TERMUX_TASKER_APP_BUILD__APP_VERSION_NAME` - Renamed `TERMUX_TASKER_APK_VERSION_TAG` to `TERMUX_TASKER_APP_BUILD__APK_VERSION_TAG`
1 parent 6ef79a1 commit 6fb138c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/attach_debug_apk_to_release.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-tasker_$APK_VERSION_TAG"
3939
4040
echo "Building APK for '$RELEASE_VERSION_NAME' release"
41-
export TERMUX_TASKER_APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
41+
export TERMUX_TASKER_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."
4444
fi

.github/workflows/debug_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ jobs:
3939
echo "APK_BASENAME_PREFIX=$APK_BASENAME_PREFIX" >> $GITHUB_ENV
4040
4141
echo "Building APK for '$RELEASE_VERSION_NAME' build"
42-
export TERMUX_TASKER_APP_VERSION_NAME="${RELEASE_VERSION_NAME/v/}" # Used by app/build.gradle
43-
export TERMUX_TASKER_APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
42+
export TERMUX_TASKER_APP_BUILD__APP_VERSION_NAME="${RELEASE_VERSION_NAME/v/}" # Used by app/build.gradle
43+
export TERMUX_TASKER_APP_BUILD__APK_VERSION_TAG="$APK_VERSION_TAG" # Used by app/build.gradle
4444
if ! ./gradlew assembleDebug; then
4545
exit_on_error "Build failed for '$RELEASE_VERSION_NAME' build."
4646
fi

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ android {
44
namespace "com.termux.tasker"
55

66
compileSdkVersion project.properties.compileSdkVersion.toInteger()
7-
def appVersionName = System.getenv("TERMUX_TASKER_APP_VERSION_NAME") ?: ""
8-
def apkVersionTag = System.getenv("TERMUX_TASKER_APK_VERSION_TAG") ?: ""
7+
def appVersionName = System.getenv("TERMUX_TASKER_APP_BUILD__APP_VERSION_NAME") ?: ""
8+
def apkVersionTag = System.getenv("TERMUX_TASKER_APP_BUILD__APK_VERSION_TAG") ?: ""
99

1010
defaultConfig {
1111
applicationId "com.termux.tasker"

0 commit comments

Comments
 (0)