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