Disable using projectlock during release

It's missing from the Gerrit server because of the recent server
upgrade. We can re-enable locking when the projectlock plugin will be
updated, or change the release process to tag a specific commit instead
of the whole branch.

Change-Id: I2060c74e01a152a07d364a4afa474d9245a3f33b
(cherry picked from commit 00ff4ce6647c2c05162b5d8cd2e0ba3085302056)
diff --git a/tools/build/onos-build-release b/tools/build/onos-build-release
index b45f7e6..373a41b 100755
--- a/tools/build/onos-build-release
+++ b/tools/build/onos-build-release
@@ -30,15 +30,18 @@
 # Check that environment setup is correct
 onos-release-prerequisites ${DRY_RUN}
 
-if [ ${IS_DRY_RUN} -eq 0 ]; then
-    # Block commits to Gerrit
-    ssh -p 29418 gerrit.onosproject.org projectlock lock onos ${BRANCH}
-fi
+# FIXME: re-enable locking when projectlock will be added to new ONOS gerrit
+#  or change the release process to tag a specific commit instead of the whole branch
+#if [ ${IS_DRY_RUN} -eq 0 ]; then
+#    # Block commits to Gerrit
+#    ssh -p 29418 gerrit.onosproject.org projectlock lock onos ${BRANCH}
+#fi
 
 # Prepare the build tree
 onos-prepare-release $VERSION $BRANCH "onos-build-and-upload $VERSION $NEXT_VERSION $BRANCH $DRY_RUN"
 
-if [ ${IS_DRY_RUN} -eq 0 ]; then
-    # Unblock commits
-    ssh -p 29418 gerrit.onosproject.org projectlock unlock onos ${BRANCH}
-fi
+# See FIXME above
+#if [ ${IS_DRY_RUN} -eq 0 ]; then
+#    # Unblock commits
+#    ssh -p 29418 gerrit.onosproject.org projectlock unlock onos ${BRANCH}
+#fi