We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 593bed2 commit 25900beCopy full SHA for 25900be
tools/release/create_release_branch.sh
@@ -1,7 +1,8 @@
1
#!/bin/bash
2
3
# Script to create a release branch and associated working 'in progress' branch
4
-# TODO: add support for creating a 'stable' branch
+#
5
+# Usage: bash tools/release/create_release_branch.sh [--stable]
6
7
set -e
8
@@ -16,7 +17,11 @@ git checkout main
16
17
git pull
18
19
DATE=$(date -u "+%Y_%m_%d")
-RELEASE_BRANCH="axt_${DATE}_release_branch"
20
+if [[ $1 == "--stable" ]]; then
21
+ RELEASE_BRANCH="axt_${DATE}_stable_release_branch"
22
+else
23
+ RELEASE_BRANCH="axt_${DATE}_release_branch"
24
+fi
25
26
echo "Creating $RELEASE_BRANCH"
27
git checkout -b $RELEASE_BRANCH
0 commit comments