generated from Templates/Dotnet_Library
fixed it
This commit is contained in:
parent
885c885f46
commit
24547f5324
@ -42,9 +42,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 '-' '_')
|
||||||
echo "${GITHUB_REF_NAME:1}"
|
if [ "$(cat DotnetTestLib/VERSION)" = "${GITHUB_REF_NAME}" ] ; then
|
||||||
cat DotnetTestLib/VERSION
|
|
||||||
if [ "$(cat DotnetTestLib/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then
|
|
||||||
echo "Version matches successfully!"
|
echo "Version matches successfully!"
|
||||||
else
|
else
|
||||||
echo "Version must match!"
|
echo "Version must match!"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user