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 1276f7f commit 3776ee7Copy full SHA for 3776ee7
scripts/prerelease_suffix.sh
@@ -6,8 +6,10 @@ prerelease_source="${1:-nightly}"
6
git_tag="${2:-}"
7
FORCE_RELEASE="${FORCE_RELEASE:-}"
8
9
-if [[ $FORCE_RELEASE != "" || $git_tag == v* ]]; then
+if [[ $FORCE_RELEASE != "" || $git_tag =~ ^v[0-9.]+$ ]]; then
10
echo -n
11
+elif [[ $git_tag =~ ^v[0-9.]+-pre. ]]; then
12
+ echo -n "pre.${git_tag#*-pre.}"
13
else
14
# Use last commit date rather than build date to avoid ending up with builds for
15
# different platforms having different version strings (and therefore producing different bytecode)
0 commit comments