Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
kylecorry31 committed Oct 25, 2023
1 parent ab987ca commit 90201c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ sh "${BASH_SOURCE%/*}"/../gradlew bundleRelease \
-Pandroid.injected.signing.key.password=$(head -n 4 "$1" | tail -n 1)

# Get the version name from the gradle file
export VERSION_CODE=$(grep -oP '(?<=versionCode = )\d+' "${BASH_SOURCE%/*}"/../app/build.gradle.kts)
export VERSION_CODE=$(LC_ALL=C.UTF-8 grep -oP '(?<=versionCode = )\d+' "${BASH_SOURCE%/*}"/../app/build.gradle.kts)

# Copy the files to the destination folder (line 5 of the signing config file)
echo "Copying files to $(head -n 5 "$1" | tail -n 1)"
Expand Down

0 comments on commit 90201c6

Please sign in to comment.