Przeglądaj źródła

ci: prepare for 5.1 release

Zaiming (Stone) Shi 2 lat temu
rodzic
commit
5aaac86e28

+ 1 - 1
.github/pull_request_template.md

@@ -1,6 +1,6 @@
 Fixes <issue-or-jira-number>
 
-<!-- Make sure to target release-50 branch if this PR is intended to fix the issues for the release candidate. -->
+<!-- Make sure to target release-51 branch if this PR is intended to fix the issues for the release candidate. -->
 
 ## Summary
 copilot:summary

+ 1 - 1
.github/workflows/build_packages_cron.yaml

@@ -23,7 +23,7 @@ jobs:
       matrix:
         profile:
           - ['emqx', 'master']
-          - ['emqx-enterprise', 'release-50']
+          - ['emqx-enterprise', 'release-51']
         otp:
           - 24.3.4.2-3
         arch:

+ 1 - 1
.github/workflows/build_slim_packages.yaml

@@ -8,7 +8,7 @@ on:
   push:
     branches:
       - master
-      - release-50
+      - release-51
   pull_request:
     # GitHub pull_request action is by default triggered when
     # opened reopened or synchronize,

+ 10 - 10
scripts/rel/cut.sh

@@ -13,14 +13,14 @@ usage() {
     cat <<EOF
 $0 RELEASE_GIT_TAG [option]
 RELEASE_GIT_TAG is a 'v*' or 'e*' tag for example:
-  v5.0.12
-  e5.0.0-beta.6
+  v5.1.1
+  e5.1.0-beta.6
 
 options:
   -h|--help:         Print this usage.
 
   -b|--base:         Specify the current release base branch, can be one of
-                     release-50
+                     release-51
                      NOTE: this option should be used when --dryrun.
 
   --dryrun:          Do not actually create the git tag.
@@ -35,10 +35,10 @@ options:
                      in addition to regular :<version> one
 
 
-NOTE: For 5.0 series the current working branch must be 'release-50'
+NOTE: For 5.1 series the current working branch must be 'release-51'
       --.--[  master  ]---------------------------.-----------.---
          \\                                      /
-          \`---[release-50]----(v5.0.20 | e5.0.1)
+          \`---[release-51]----(v5.1.1 | e5.1.1)
 EOF
 }
 
@@ -127,11 +127,11 @@ done
 rel_branch() {
     local tag="$1"
     case "$tag" in
-        v5.0.*)
-            echo 'release-50'
+        v5.1.*)
+            echo 'release-51'
             ;;
-        e5.0.*)
-            echo 'release-50'
+        e5.1.*)
+            echo 'release-51'
             ;;
         *)
             logerr "Unsupported version tag $TAG"
@@ -270,7 +270,7 @@ else
         *beta*)
             true
             ;;
-        e5.0.0*)
+        e5.1.0*)
             # the first release has no change log
             true
             ;;

+ 5 - 5
scripts/rel/sync-remotes.sh

@@ -5,7 +5,7 @@ set -euo pipefail
 # ensure dir
 cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")/../.."
 
-BASE_BRANCHES=( 'release-50' 'master' )
+BASE_BRANCHES=( 'release-51' 'master' )
 
 usage() {
     cat <<EOF
@@ -18,8 +18,8 @@ options:
     It tries to merge (by default with --ff-only option)
     upstreams branches for the current working branch.
     The uppstream branch of the current branch are as below:
-    * release-50: []        # no upstream for 5.0 opensource edition
-    * master: [release-50]  # sync release-50 to master
+    * release-51: []        # no upstream for 5.0 opensource edition
+    * master: [release-51]  # sync release-51 to master
 
   -b|--base:
     The base branch of current working branch if currently is not
@@ -151,11 +151,11 @@ remote_refs() {
 upstream_branches() {
     local base="$1"
     case "$base" in
-        release-50)
+        release-51)
             remote_ref "$base"
             ;;
         master)
-            remote_refs "$base" 'release-50'
+            remote_refs "$base" 'release-51'
             ;;
     esac
 }