You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2020/07/30 13:52:53 UTC

[flink-docker] 02/02: [hotfix] Fix regex to remove scala_x.xx tags properly

This is an automated email from the ASF dual-hosted git repository.

rmetzger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-docker.git

commit d82ab62895fddbeb10c963ef95f0860b2b515ddc
Author: Robert Metzger <rm...@apache.org>
AuthorDate: Thu Jul 30 15:31:41 2020 +0200

    [hotfix] Fix regex to remove scala_x.xx tags properly
---
 generate-stackbrew-library.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh
index 2a7307a..98ffe13 100755
--- a/generate-stackbrew-library.sh
+++ b/generate-stackbrew-library.sh
@@ -47,7 +47,7 @@ pruneTags() {
     else
         # remove "latest" and any "scala_" tag, unless it is the latest version
         # the "scala_" tag has a similar semantic as the "latest" tag in docker registries. 
-        echo $tags | sed -E 's|, (scala\|latest)[-_[:alnum:]]*||g'
+        echo $tags | sed -E 's|, (scala\|latest)[-_.[:alnum:]]*||g'
     fi
 }