generated from Templates/Python
Compare commits
2 Commits
5172bdabaf
...
48c2e3bc3f
Author | SHA1 | Date | |
---|---|---|---|
48c2e3bc3f | |||
1b84f5064c |
@ -46,9 +46,7 @@ jobs:
|
||||
- name: Check version match
|
||||
run: |
|
||||
REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | awk -F '/' '{print $2}' | tr '-' '_' | tr '[:upper:]' '[:lower:]')
|
||||
test "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}"
|
||||
SUCCESS=$?
|
||||
if $SUCCESS; then
|
||||
if [ "$(cat $REPOSITORY_NAME/VERSION)" = "${GITHUB_REF_NAME:1}" ] ; then
|
||||
echo "Version matches successfully!"
|
||||
else
|
||||
echo "Version must match!"
|
||||
|
Loading…
Reference in New Issue
Block a user