Bläddra i källkod

build: bump dashboard tag `v1.2.6-beta.1` and `e1.1.0-beta.2`

The dashboard asset zip file will contain version after these two tags.
JimMoen 2 år sedan
förälder
incheckning
bed1efd99f
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      Makefile
  2. 2 2
      scripts/get-dashboard.sh

+ 2 - 2
Makefile

@@ -15,8 +15,8 @@ endif
 
 
 # Dashbord version
 # Dashbord version
 # from https://github.com/emqx/emqx-dashboard5
 # from https://github.com/emqx/emqx-dashboard5
-export EMQX_DASHBOARD_VERSION ?= v1.2.5-1
-export EMQX_EE_DASHBOARD_VERSION ?= e1.0.8-beta.1
+export EMQX_DASHBOARD_VERSION ?= v1.2.6-beta.1
+export EMQX_EE_DASHBOARD_VERSION ?= e1.1.0-beta.2
 
 
 # `:=` should be used here, otherwise the `$(shell ...)` will be executed every time when the variable is used
 # `:=` should be used here, otherwise the `$(shell ...)` will be executed every time when the variable is used
 # In make 4.4+, for backward-compatibility the value from the original environment is used.
 # In make 4.4+, for backward-compatibility the value from the original environment is used.

+ 2 - 2
scripts/get-dashboard.sh

@@ -8,10 +8,10 @@ cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/.."
 VERSION="${1}"
 VERSION="${1}"
 case "$VERSION" in
 case "$VERSION" in
     v*)
     v*)
-        RELEASE_ASSET_FILE="emqx-dashboard.zip"
+        RELEASE_ASSET_FILE="emqx-dashboard-$VERSION.zip"
         ;;
         ;;
     e*)
     e*)
-        RELEASE_ASSET_FILE="emqx-enterprise-dashboard.zip"
+        RELEASE_ASSET_FILE="emqx-enterprise-dashboard-$VERSION.zip"
         ;;
         ;;
     *)
     *)
         echo "Unknown version $VERSION"
         echo "Unknown version $VERSION"