Browse Source

Removing leading zero constraint on the dotnet version check (#53)

pull/56/head
Joseph Flinn 4 years ago committed by GitHub
parent
commit
4cf17a5ff1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      release-version-check/action.yml

2
release-version-check/action.yml

@ -85,7 +85,7 @@ runs:
version=$( jq -r ".version" ${{ inputs.file }} ) version=$( jq -r ".version" ${{ inputs.file }} )
;; ;;
"dotnet") "dotnet")
version=$( grep -o "<Version>.*</Version>" ${{ inputs.file }} | grep -Eo "[0-9]{4}\.[0-9]{2}\.[0-9]+" ) version=$( grep -o "<Version>.*</Version>" ${{ inputs.file }} | grep -Eo "[0-9]{4}\.[0-9]+\.[0-9]+" )
;; ;;
"xamarin") "xamarin")
version=$(sed -E -n '/^<manifest/s/^.*[ ]android:versionName="([^"]+)".*$/\1/p' ${{ inputs.file }} | tr -d '"') version=$(sed -E -n '/^<manifest/s/^.*[ ]android:versionName="([^"]+)".*$/\1/p' ${{ inputs.file }} | tr -d '"')

Loading…
Cancel
Save