There was an error while loading. Please reload this page.
1 parent 6630759 commit c1cc65fCopy full SHA for c1cc65f
merge-release.sh
@@ -12,6 +12,12 @@ v=$1
12
git merge "release-${v}" || die;
13
git push || die;
14
15
+# If $v contains -alpha, -beta or -rc, skip the remaining steps.
16
+if [[ "${v}" == *"-alpha"* || "${v}" == *"-beta"* || "${v}" == *"-rc"* ]]; then
17
+ echo "Pre-release version detected; skipping stable and docs update."
18
+ exit 0
19
+fi
20
+
21
git checkout stable || die;
22
git reset --hard "v${v}" || die;
23
git push -f || die;
0 commit comments