Skip to content

Commit

Permalink
#32 Fix target version.
Browse files Browse the repository at this point in the history
  • Loading branch information
pastushenkoy committed Sep 2, 2020
1 parent 6583147 commit cd69668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "Target branch: ${{ github.base_ref }}"
version=$(cat ./src/Dodo.HttpClientResiliencePolicies/Dodo.HttpClientResiliencePolicies.csproj | grep "<VersionPrefix>" | sed -e "s/ *<\/*VersionPrefix>//g")
echo "Source version: $version"
if [ -z "${version// }" ]; then exit 1; fi
if [ -z "${version// }" ]; then version="0.0.0"; fi
echo "::set-output name=version::$version"
- name: Compare versions
Expand Down

0 comments on commit cd69668

Please sign in to comment.