Update prerelease.yml

This commit is contained in:
Arjix 2021-08-22 20:55:15 +03:00 committed by GitHub
parent c5e3c9f1a4
commit ee3736e691
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,10 @@ jobs:
distribution: 'adopt' distribution: 'adopt'
- name: Grant execute permission for gradlew - name: Grant execute permission for gradlew
run: chmod +x gradlew run: chmod +x gradlew
- name: Set checks for prerelease updates to true by default
run: |
COMMIT_HASH="$(git log -1 --format='%H')"
sed -i "s/R\.string\.prerelease_update_key), false))/R\.string\.prerelease_update_key), true))/" app/src/main/java/com/lagradost/cloudstream3/utils/InAppUpdater.kt
- name: Update prerelease_commit_hash - name: Update prerelease_commit_hash
run: | run: |
COMMIT_HASH="$(git log -1 --format='%H')" COMMIT_HASH="$(git log -1 --format='%H')"