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 5240ba4 commit 6152995Copy full SHA for 6152995
.gitlab-ci.yml
@@ -163,7 +163,7 @@ cli:npm:publish:
163
164
# Normalize 0.14-dev.1 -> 0.14.0-dev.1
165
if printf '%s' "$TAG_VERSION" | grep -Eq '^[0-9]+\\.[0-9]+-(dev|beta)\\.[0-9]+$'; then
166
- TAG_VERSION="$(printf '%s' "$TAG_VERSION" | sed -E 's/^([0-9]+\\.[0-9]+)-(dev|beta\\.[0-9]+)$/\\1.0-\\2/')"
+ TAG_VERSION="$(printf '%s' "$TAG_VERSION" | sed -E 's/^([0-9]+\\.[0-9]+)-((dev|beta)\\.[0-9]+)$/\\1.0-\\2/')"
167
fi
168
169
DIST_TAG="$(printf '%s' "$TAG_VERSION" | sed -E 's/^.*-(dev|beta)\\.[0-9]+$/\\1/')"
0 commit comments