diff --git a/.github/actions/spring-website-project-version-update/action.yml b/.github/actions/spring-website-project-version-update/action.yml index c49ac0d..03ba0f2 100644 --- a/.github/actions/spring-website-project-version-update/action.yml +++ b/.github/actions/spring-website-project-version-update/action.yml @@ -34,7 +34,7 @@ runs: OSS_SUPPORT_END_DATE=$(eval $SPRING_WEBSITE_CLIENT/generations/${MAJOR_MINOR}.x | jq '.ossSupportEndDate' | tr -d \") - if [[ $OSS_SUPPORT_END_DATE > $(date '+%F') ]] + if [[ -z $OSS_SUPPORT_END_DATE || $OSS_SUPPORT_END_DATE > $(date '+%F') ]] then NEXT_SNAPSHOT=${{ inputs.newVersion }}