The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
mage jar download fix version regex matching (#62510)
bryanf6b907585ba8
diff --git a/mage/mage/jar_download.clj b/mage/mage/jar_download.cljindex af6ed9809ef..97a2811ab73 100644--- a/mage/mage/jar_download.clj+++ b/mage/mage/jar_download.clj@@ -124,7 +124,7 @@"Returns the latest version for a given version string, or a map with {:branch branch-name}."[version](cond- (re-matches #"(v?)\d+\.\d+\.\d+.+" version) (str/replace version #"^v" "")+ (re-matches #"(v?)\d+\.\d+\.\d+.*" version) (str/replace version #"^v" "")(re-matches #"\d+" version) (str "1." (latest-patch-version version))(branch-exists? version) {:branch version}:else (throw (ex-info (str "Invalid version format + branch not found:" version)