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 7c3791f commit e336aa9Copy full SHA for e336aa9
entrypoint.sh
@@ -26,7 +26,7 @@ main() {
26
major=0; minor=0; patch=0; pre=""; preversion=0
27
28
# break down the version number into it's components
29
- regex="^v?([0-9]+).([0-9]+).([0-9]+)((-[a-z]+).?([0-9]+))?$"
+ regex="^v?([0-9]+)\.([0-9]+)\.([0-9]+)(-([a-z]+)(\.[0-9]+)?)?$"
30
if [[ $prev_version =~ $regex ]]; then
31
major="${BASH_REMATCH[1]}"
32
minor="${BASH_REMATCH[2]}"
0 commit comments