diff --git a/.github/workflows/check-version.yml b/.github/workflows/check-version.yml index c6f5e8e..cff9abb 100644 --- a/.github/workflows/check-version.yml +++ b/.github/workflows/check-version.yml @@ -21,10 +21,6 @@ jobs: run: | echo "NEW_VERSION=$(git log origin/main..HEAD --cherry -p -- etc/config.xml | grep '\+.\s*.' | head -1 | tr -d '+[:blank:]\n' | sed -e 's/\(.*\)<\/version>/\1/')" >> $GITHUB_ENV - - name: Print versions - run: | - echo "Old version: ${OLD_VERSION:-unknown}; New version: ${NEW_VERSION:-unknown}" - - name: Test that versions are not empty run: | [[ ! -z $OLD_VERSION ]] && [[ ! -z $NEW_VERSION ]]