Просмотр исходного кода

chore: prepare for 5.7.x releases

Ivan Dyachkov 1 год назад
Родитель
Сommit
9b4d960888

+ 2 - 2
apps/emqx/include/emqx_release.hrl

@@ -32,7 +32,7 @@
 %% `apps/emqx/src/bpapi/README.md'
 
 %% Opensource edition
--define(EMQX_RELEASE_CE, "5.6.0").
+-define(EMQX_RELEASE_CE, "5.7.0-alpha.1").
 
 %% Enterprise edition
--define(EMQX_RELEASE_EE, "5.6.0").
+-define(EMQX_RELEASE_EE, "5.7.0-alpha.1").

+ 2 - 2
deploy/charts/emqx-enterprise/Chart.yaml

@@ -14,8 +14,8 @@ type: application
 
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
-version: 5.6.0
+version: 5.7.0-alpha.1
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application.
-appVersion: 5.6.0
+appVersion: 5.7.0-alpha.1

+ 2 - 2
deploy/charts/emqx/Chart.yaml

@@ -14,8 +14,8 @@ type: application
 
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
-version: 5.6.0
+version: 5.7.0-alpha.1
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application.
-appVersion: 5.6.0
+appVersion: 5.7.0-alpha.1

+ 6 - 0
scripts/rel/cut.sh

@@ -129,6 +129,12 @@ rel_branch() {
         e5.6.*)
             echo 'release-56'
             ;;
+        v5.7.*)
+            echo 'release-57'
+            ;;
+        e5.7.*)
+            echo 'release-57'
+            ;;
         *)
             logerr "Unsupported version tag $TAG"
             exit 1

+ 6 - 2
scripts/rel/sync-remotes.sh

@@ -5,7 +5,7 @@ set -euo pipefail
 # ensure dir
 cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/../.."
 
-BASE_BRANCHES=( 'release-56' 'release-55' 'master' )
+BASE_BRANCHES=( 'release-57' 'release-56' 'release-55' 'master' )
 
 usage() {
     cat <<EOF
@@ -20,6 +20,7 @@ options:
     The uppstream branch of the current branch are as below:
     * release-55: []        # no upstream for 5.5 opensource edition
     * release-56: []        # no upstream for 5.6 opensource edition
+    * release-57: []        # no upstream for 5.7 opensource edition
     * master: [release-5x]  # sync release-5x to master
 
   -b|--base:
@@ -158,8 +159,11 @@ upstream_branches() {
         release-56)
             remote_ref "$base"
             ;;
+        release-57)
+            remote_ref "$base"
+            ;;
         master)
-            remote_refs "$base" 'release-55' 'release-56'
+            remote_refs "$base" 'release-55' 'release-56' 'release-57'
             ;;
     esac
 }