Skip to content

Commit 23b3a88

Browse files
committed
Add SNAPSHOT to website if no generation for release
1 parent 5042fd3 commit 23b3a88

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/spring-website-project-version-update

1 file changed

+1
-1
lines changed

.github/actions/spring-website-project-version-update/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ runs:
3434
3535
OSS_SUPPORT_END_DATE=$(eval $SPRING_WEBSITE_CLIENT/generations/${MAJOR_MINOR}.x | jq '.ossSupportEndDate' | tr -d \")
3636
37-
if [[ $OSS_SUPPORT_END_DATE > $(date '+%F') ]]
37+
if [[ -z $OSS_SUPPORT_END_DATE || $OSS_SUPPORT_END_DATE > $(date '+%F') ]]
3838
then
3939
NEXT_SNAPSHOT=${{ inputs.newVersion }}
4040

0 commit comments

Comments
 (0)