mojo/syncbase: Use RELEASE flag when publishing

Change-Id: I0fbd4fbb1f25891809903382530a5c254516ebaf
diff --git a/Makefile b/Makefile
index e7f3013..10586ae 100644
--- a/Makefile
+++ b/Makefile
@@ -205,8 +205,9 @@
 # TODO(nlacasse): Generate a MOJO_VERSION file and publish that as part of the
 # package.
 publish: veryclean packages
-	$(MAKE) test  # Build and test on Linux.
-	ANDROID=1 $(MAKE) build  # Cross-compile for Android.
+	$(MAKE) test  # Test on Linux.
+	RELEASE=1 $(MAKE) build  # Build on Linux.
+	RELEASE=1 ANDROID=1 $(MAKE) build  # Cross-compile for Android.
 	mkdir -p $(PACKAGE_MOJO_BIN_DIR)
 	cp -r gen/mojo/* $(PACKAGE_MOJO_BIN_DIR)
 # Note: The '-' at the beginning of the following command tells make to ignore
diff --git a/pubspec.yaml b/pubspec.yaml
index e61f3f9..721ca10 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -2,7 +2,7 @@
 description: Syncbase is a storage system for developers that makes it easy to synchronize app data between devices. It works even when devices are not connected to the Internet.
 homepage: https://github.com/vanadium/mojo.syncbase
 name: syncbase
-version: 0.0.37
+version: 0.0.40
 dependencies:
   mojo_sdk: 0.2.22
 dev_dependencies: