Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
ci: Fix nightly
Browse files Browse the repository at this point in the history
Signed-off-by: M3DZIK <[email protected]>
  • Loading branch information
M3DZIK committed Aug 8, 2023
1 parent f7ba860 commit e9c0928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:

- name: Setup app version
run: |
sed -i 's/versionCode = [0-9]\+/versionCode = $GITHUB_RUN_NUMBER/' app/build.gradle.kts
sed -i 's/versionName = "[^"]\+"/versionName = "0.0.0-nightly+git-$(git rev-parse --short HEAD)"/' app/build.gradle.kts
sed -i "s/versionCode = [0-9]\+/versionCode = $GITHUB_RUN_NUMBER/" app/build.gradle.kts
sed -i "s/versionName = \"[^\"]\+\"/versionName = \"0.0.0-nightly+git-$(git rev-parse --short HEAD)\"/" app/build.gradle.kts
- name: Build with Gradle
run: ./gradlew build
Expand Down

0 comments on commit e9c0928

Please sign in to comment.