Skip to content

Commit

Permalink
Allow for beta EA archive filenames that contain -ea
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Jan 30, 2024
1 parent 6a4d3da commit 054e4b0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sbin/Release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ timestampRegex="[[:digit:]]{4}-[[:digit:]]{2}-[[:digit:]]{2}-[[:digit:]]{2}-[[:d
# OpenJDK 18U -jdk-sources 2020-06-06-16-36 .tar.gz
# OpenJDK 11_ -jdk x64_ linux_ _fast_startup_ 11_28 .tar.gz
# OpenJDK -debugimage aarch64_ linux_ hotspot_ 2023-02-16-12-32 .tar.gz
# OpenJDK 17U_ -jdk x64_ linux_ hotspot_ 17.0.10_5-ea .tar.gz
#
# (version ) (type ) (arch ) (os ) (variant ) (timestamp or version ) (extension )
regex="OpenJDK([[:digit:]]*)U?(-jre|-jdk|-debugimage|-static-libs-glibc|-static-libs|-static-libs-musl|-testimage|-jdk-sources)_([[:alnum:]\-]+_)?([[:alnum:]\-]+_)?([[:alnum:]\-_]+_)?([[:digit:]\-]+|[[:alnum:]\._]+)\.(tar\.gz|zip|pkg|msi)";
# (version ) (type ) (arch ) (os ) (variant ) (timestamp or version ) (extension )
regex="OpenJDK([[:digit:]]*)U?(-jre|-jdk|-debugimage|-static-libs-glibc|-static-libs|-static-libs-musl|-testimage|-jdk-sources)_([[:alnum:]\-]+_)?([[:alnum:]\-]+_)?([[:alnum:]\-_]+_)?([[:digit:]\-]+|[[:alnum:]\._\-]+)\.(tar\.gz|zip|pkg|msi)";

regexArchivesOnly="${regex}$";

Expand Down

0 comments on commit 054e4b0

Please sign in to comment.