Skip to content

Commit

Permalink
v1.0.0 - Add explanation text to decision making
Browse files Browse the repository at this point in the history
  • Loading branch information
M-casado committed Jun 24, 2024
1 parent fe6c3ae commit 68bbbc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check_project_version_change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
script_path="./.github/scripts/check_project_version_change.py"
python3 "$script_path" --git_var_name "VERSION_CHANGE" --verbose
echo "- The version change is: $VERSION_CHANGE"
echo "- The version change is: ${{ env.VERSION_CHANGE }}"
# The output of this previous script will determine if changes are not "major" (i.e. minor or patch), and therefore retrocompatibility
# has to be tested through JSON Schema validation (combination of old and new schemas with old and new examples).
Expand All @@ -79,8 +79,10 @@ jobs:
run: |
if [[ "${{ env.VERSION_CHANGE }}" != "Major" ]]; then
echo "version_needs_to_be_checked=True" >> $GITHUB_ENV
echo "- Since the changes are not 'Major', we will make sure by testing retrocompatibility"
else
echo "version_needs_to_be_checked=False" >> $GITHUB_ENV
echo "- Since the changes are 'Major', there is no need to test retrocompatibility"
fi
- name: Clone Biovalidator
Expand Down

0 comments on commit 68bbbc3

Please sign in to comment.