We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0095808 commit fcc688aCopy full SHA for fcc688a
.github/workflows/release.yml
@@ -56,11 +56,11 @@ jobs:
56
57
if [[ "$VERSION_INPUT" =~ ^(patch|minor|major)$ ]]; then
58
npm version "$VERSION_INPUT" -m "chore(release): %s"
59
- elif [[ "$VERSION_INPUT" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
+ elif [[ "$VERSION_INPUT" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-.+)?$ ]]; then
60
61
else
62
echo "Unsupported version input: $VERSION_INPUT" >&2
63
- echo "Use patch|minor|major or explicit semver like 0.2.0" >&2
+ echo "Use patch|minor|major or explicit semver like 0.2.0 or 0.2.0-alpha.1" >&2
64
exit 1
65
fi
66
0 commit comments