generated from Templates/Python
bugfix
Some checks failed
CI / linter (ubuntu-latest, 3.9) (pull_request) Successful in 34s
SonarQube Scan / SonarQube Trigger (pull_request) Successful in 50s
CI / tests_linux (ubuntu-latest, 3.9) (pull_request) Successful in 38s
Upload Python Package / Create Release (push) Successful in 31s
Rename the project from template / rename-project (push) Successful in 25s
Upload Python Package / deploy (push) Failing after 43s
Some checks failed
CI / linter (ubuntu-latest, 3.9) (pull_request) Successful in 34s
SonarQube Scan / SonarQube Trigger (pull_request) Successful in 50s
CI / tests_linux (ubuntu-latest, 3.9) (pull_request) Successful in 38s
Upload Python Package / Create Release (push) Successful in 31s
Rename the project from template / rename-project (push) Successful in 25s
Upload Python Package / deploy (push) Failing after 43s
This commit is contained in:
parent
08860faa46
commit
1b84f5064c
@ -46,9 +46,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:]')
|
||||||
test "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}"
|
if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then
|
||||||
SUCCESS=$?
|
|
||||||
if $SUCCESS; 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