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 217ee14 commit ebfaa3dCopy full SHA for ebfaa3d
scripts/generate.sh
@@ -16,6 +16,11 @@ done
16
17
VERSION=${VERSION//develop/dev}
18
19
+# Example for the regex below:
20
+# dev.1.0.0.0
21
+# dev-1.0.0-0
22
+# dev.1.0.0-0
23
+# dev-1.0.0.0
24
if [[ $VERSION =~ ^dev[.-]([0-9]+)[.-]([0-9]+)[.-]([0-9]+)[.-]([0-9]+)$ ]]; then
25
VERSION="${BASH_REMATCH[1]}.${BASH_REMATCH[2]}.${BASH_REMATCH[3]}-beta.${BASH_REMATCH[4]}"
26
elif [[ $VERSION =~ ^([0-9]+)[.-]([0-9]+)[.-]([0-9]+)[.-]dev[.-]([0-9]+)$ ]]; then
0 commit comments