Set Gerrit to 3.5.1

Change-Id: I5ef5895afc2c2ae67ff3a8124076295b9c4e89df
diff --git a/fpm/Makefile b/fpm/Makefile
index 844d227..d17a461 100644
--- a/fpm/Makefile
+++ b/fpm/Makefile
@@ -1,5 +1,5 @@
-VERSION=3.5.0.1
-WAR_VERSION=3.5.0.1
+VERSION=3.5.1
+WAR_VERSION=3.5.1
 URL=https://gerrit-releases.storage.googleapis.com/gerrit-$(WAR_VERSION).war
 CI_URL=https://gerrit-ci.gerritforge.com
 RELEASE=1
diff --git a/macOS/Makefile b/macOS/Makefile
index f67727a..043a09e 100644
--- a/macOS/Makefile
+++ b/macOS/Makefile
@@ -1,4 +1,4 @@
-VERSION := 3.5.0.1
+VERSION := 3.5.1
 
 all: server