more bugs fixed
All checks were successful
CI / linter (9.0.X, ubuntu-latest) (push) Successful in 1m51s
SonarQube Scan / SonarQube Trigger (push) Successful in 1m52s
CI / tests_linux (9.0.X, ubuntu-latest) (push) Successful in 2m30s

This commit is contained in:
Simon Diesenreiter 2024-11-27 21:41:52 +01:00
parent a8025efe30
commit 213331e30f

View File

@ -46,7 +46,7 @@ jobs:
- name: Check version match - name: Check version match
run: | run: |
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_'') REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_'')
if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then if [ "$(cat $REPOSITORY_NAME/$REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then
echo "Version matches successfully!" echo "Version matches successfully!"
else else
echo "Version must match!" echo "Version must match!"