Skip to content

Commit

Permalink
[FLINK-36360] Fix version name checks for preview release.
Browse files Browse the repository at this point in the history
  • Loading branch information
xintongsong authored and reswqa committed Oct 8, 2024
1 parent 6bac0c6 commit 1f35ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if [ -z "$flink_release" ] || [ -z "$flink_version" ]; then
exit 1
fi

if [[ ! "$flink_version" =~ ^$flink_release\.+ ]]; then
if [[ "$flink_version" != "$flink_release"* ]]; then
error "Flink release must be prefix of version"
fi

Expand Down

0 comments on commit 1f35ca3

Please sign in to comment.