Enhancing onos-release to check for no SNAPSHOTs.
Adding release readiness test script.
Change-Id: Id0e7fe3a83279cf6cf2c5c6cf92048377702894e
diff --git a/tools/build/onos-release b/tools/build/onos-release
index 48676cc..d4c1a80 100755
--- a/tools/build/onos-release
+++ b/tools/build/onos-release
@@ -22,6 +22,9 @@
onos-change-version $NEW_VERSION
export ONOS_VERSION=$NEW_VERSION
+# Validate integrity of the versioning
+onos-validate-change-version
+
# Build ONOS & deploy to staging repo using the release profile.
onos-build && onos-package --tar --zip && mvn -Prelease clean deploy -DskipTests