bugfix #3

Merged
simon merged 1 commits from sidiesen/test into main 2024-11-13 08:12:06 -08:00
Showing only changes of commit 1b84f5064c - Show all commits

View File

@ -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!"