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 a17ac59 commit 01c900bCopy full SHA for 01c900b
Makefile
@@ -62,7 +62,7 @@ flit-publish: test ## Deploy the package to pypi
62
package: dist/${PACKAGE_NAME}
63
64
cut-release: ## Release a new version of snooty. Must provide BUMP_TO_VERSION
65
- @if [ $$(echo "${BUMP_TO_VERSION}" | grep -cE '^\d+\.\d+\.\d+(-[[:alnum:]_-]+)?$$') -ne 1 ]; then \
+ @if [ $$(echo "${BUMP_TO_VERSION}" | grep -cE '^[0-9]+\.[0-9]+\.[0-9]+(-[[:alnum:]_-]+)?$$') -ne 1 ]; then \
66
echo "Must specify a valid BUMP_TO_VERSION (e.g. 'make cut-release BUMP_TO_VERSION=0.1.15')"; \
67
exit 1; \
68
fi
0 commit comments