This commit is contained in:
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
- name: Extract versionName
|
||||
run: |
|
||||
VERSION=$(grep -oP 'versionName\s+"[^"]+"' app/build.gradle | cut -d'"' -f2)
|
||||
VERSION=$(grep -oP 'versionName\s+"[^"]+"' app/build.gradle | head -n1 | cut -d'"' -f2 | tr -d '\r\n')
|
||||
echo $VERSION > version.txt
|
||||
echo "Detected version: $VERSION"
|
||||
|
||||
@@ -46,7 +46,11 @@ jobs:
|
||||
|
||||
- name: Decode keystore
|
||||
run: |
|
||||
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > release.keystore
|
||||
mkdir -p app
|
||||
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > app/release.keystore
|
||||
|
||||
- name: Check keystore
|
||||
run: ls -l app/
|
||||
|
||||
- name: Make Gradlew executable
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
Reference in New Issue
Block a user