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.
2 parents 2e6517c + bfb16fe commit ee0b682Copy full SHA for ee0b682
ci/build-and-deploy-to-maven-central.sh
@@ -4,7 +4,7 @@ set -euo pipefail
4
5
VERSION=$(./mvnw org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version -o | grep -v INFO)
6
7
-if [[ $VERSION =~ [^.*-SNAPSHOT$] ]] ; then
+if [[ $VERSION =~ .*-SNAPSHOT$ ]] ; then
8
9
echo "Cannot deploy a snapshot: $VERSION"
10
exit 1
0 commit comments