Skip to content

Commit

Permalink
Updated Sed expression for Android manifests (#1763)
Browse files Browse the repository at this point in the history
(cherry picked from commit 9eed421)
  • Loading branch information
mimartin12 authored and joseph-flinn committed Feb 10, 2022
1 parent 9b17392 commit 56de479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Retrieve Mobile release version
id: retrieve-mobile-version
run: |
ver=$(sed -n -e '/android:versionName/ s/.*\= *//p' ./src/Android/Properties/AndroidManifest.xml | tr -d '"')
ver=$(sed -E -n '/^<manifest/s/^.*[ ]android:versionName="([^"]+)".*$/\1/p' ./src/Android/Properties/AndroidManifest.xml | tr -d '"')
echo "::set-output name=mobile_version::${ver}"
shell: bash

Expand Down

0 comments on commit 56de479

Please sign in to comment.