Skip to content

Commit

Permalink
build: version codes as int
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous authored Mar 1, 2024
1 parent 9a6092b commit 935dd1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Build & notify
if: env.TELEGRAM_CHAT_ID && env.SCHEDULED_BUILD_VARIANT && env.TELEGRAM_TOKEN
run: |
./gradlew $SCHEDULED_BUILD_VARIANT
./gradlew ${SCHEDULED_BUILD_VARIANT} -v
env:
ALPHA_KS_ALIAS: ${{ vars.ALPHA_KS_ALIAS }}
ALPHA_KS_FILE: ${{ vars.ALPHA_KS_FILE }}
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ android {
dimension "releaseType"
// getPackageInfo().versionCode not returning the correct value (in prod builds) when
// value is set in AndroidManifest.xml so setting it here
versionCode = System.getenv("VERSION_CODE")
versionCode = Integer.parseInt(System.getenv("VERSION_CODE"))
versionName = gitVersion
vectorDrawables.useSupportLibrary = true
}
Expand Down

0 comments on commit 935dd1e

Please sign in to comment.