From 517ba38932584cd9b218e8df30889fa6e6127566 Mon Sep 17 00:00:00 2001 From: Omer Akram Date: Mon, 8 Jun 2020 01:44:10 +0500 Subject: [PATCH] update Makefile (#488) --- Makefile | 10 +++++----- .../main/java/io/crossbar/autobahn/utils/Globals.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 45f19053..e6bcf959 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BUILD_DATE=$(shell date -u +"%Y-%m-%d") AUTOBAHN_JAVA_VERSION='20.6.1' -AUTOBAHN_JAVA_VCS_REF='unknown' +AUTOBAHN_JAVA_VCS_REF='a23b951' default: @echo 'Build targets: clean build publish' @@ -73,13 +73,13 @@ build_android: publish_android: build_android sed -i 's/DEBUG = true/DEBUG = false/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java - AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} gradle bintrayUpload -PbuildPlatform=android + AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} ./gradlew bintrayUpload -PbuildPlatform=android sed -i 's/DEBUG = false/DEBUG = true/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java publish_android_legacy: build_android sed -i 's/DEBUG = true/DEBUG = false/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java $(shell ./enable_old_androids.sh) - AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} gradle bintrayUpload -PbuildPlatform=android -PbuildLegacy=true + AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} ./gradlew bintrayUpload -PbuildPlatform=android -PbuildLegacy=true sed -i 's/DEBUG = false/DEBUG = true/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java @@ -90,7 +90,7 @@ build_netty: crossbario/autobahn-java:netty \ gradle -PbuildPlatform=netty distZip -publish_netty: build_netty +publish_netty: sed -i 's/DEBUG = true/DEBUG = false/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java - AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} gradle bintrayUpload -PbuildPlatform=netty + AUTOBAHN_BUILD_VERSION=${AUTOBAHN_JAVA_VERSION} ./gradlew bintrayUpload -PbuildPlatform=netty sed -i 's/DEBUG = false/DEBUG = true/g' autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java diff --git a/autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java b/autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java index 22f11ea4..de273541 100644 --- a/autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java +++ b/autobahn/src/main/java/io/crossbar/autobahn/utils/Globals.java @@ -13,5 +13,5 @@ public class Globals { // Default set to true, this is set to false by the release script. - public static final boolean DEBUG = false; + public static final boolean DEBUG = true; }