fixes
Some checks failed
Rename the project from template / rename-project (push) Has been skipped
SonarQube Scan / SonarQube Trigger (pull_request) Has been skipped
CI / linter (ubuntu-latest, 3.9) (pull_request) Failing after 16s
CI / tests_linux (ubuntu-latest, 3.9) (pull_request) Has been skipped
Some checks failed
Rename the project from template / rename-project (push) Has been skipped
SonarQube Scan / SonarQube Trigger (pull_request) Has been skipped
CI / linter (ubuntu-latest, 3.9) (pull_request) Failing after 16s
CI / tests_linux (ubuntu-latest, 3.9) (pull_request) Has been skipped
This commit is contained in:
parent
f74c2a5f6c
commit
772aed251d
@ -42,7 +42,7 @@ jobs:
|
|||||||
- name: Check version match
|
- name: Check version match
|
||||||
run: |
|
run: |
|
||||||
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')
|
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')
|
||||||
if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then
|
if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME}" ] ; then
|
||||||
echo "Version matches successfully!"
|
echo "Version matches successfully!"
|
||||||
else
|
else
|
||||||
echo "Version must match!"
|
echo "Version must match!"
|
||||||
|
Loading…
Reference in New Issue
Block a user