Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #214 from protocol/semver-error-message
Browse files Browse the repository at this point in the history
output the error if semver-highest fails in release-check workflow
  • Loading branch information
marten-seemann authored Oct 18, 2021
2 parents e97c8f2 + ebadf0e commit 41c66be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
git fetch origin --tags
go install github.com/marten-seemann/semver-highest@fcdc98f8820ff0e6613c1bee071c096febd98dbf
v=$(semver-highest -target ${{ env.VERSION }} -versions $(git tag | paste -sd , -))
status=$?
if [[ $status != 0 ]]; then
echo $v
exit $status
fi
echo "COMPARETO=$v" >> $GITHUB_ENV
- name: Post output
if: env.INITIAL_RUN == 'false' && env.COMPARETO == ''
Expand Down

0 comments on commit 41c66be

Please sign in to comment.