Skip to content

Commit

Permalink
update failure message
Browse files Browse the repository at this point in the history
  • Loading branch information
MikhailKardash committed Nov 20, 2023
1 parent 31c27f2 commit f4cddf6
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/check_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,17 @@ jobs:
export ENVIRONMENTS_VERSION=$(grep -oE '^[0-9.]*' VERSION)
source scripts/compare-versions.sh
vercomp $OSS_VERSION $ENVIRONMENTS_VERSION
- name: Check Failure
- name: Failure Message
if: ${{ failure() }}
run: |
cat <<"EOF" 1>&2
********
echo "********
This branch has an invalid VERSION file.
Given VERSION: $ENVIRONMENTS_VERSION
Given Version: $ENVIRONMENTS_VERSION
Minimum Expected Version: $OSS_VERSION
Please check that VERSION in your branch is up-to-date.
********
EOF
********"
exit 1

0 comments on commit f4cddf6

Please sign in to comment.