From f59a228daf8c1a734775bf9f253a77e010d4ddf3 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Tue, 21 Nov 2017 17:47:33 -0500 Subject: [PATCH] Pass system properties to releaser build command --- config/releaser.yml | 2 +- scripts/build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/releaser.yml b/config/releaser.yml index 20b9f16a..26e5e8c2 100644 --- a/config/releaser.yml +++ b/config/releaser.yml @@ -1,3 +1,3 @@ releaser: maven: - buildCommand: ./scripts/build.sh + buildCommand: ./scripts/build.sh {{systemProps}} diff --git a/scripts/build.sh b/scripts/build.sh index 2dae9e91..b16ab2a4 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,4 @@ #!/bin/bash -(cd spring-cloud-netflix-hystrix-contract && ../mvnw clean install) -./mvnw clean install +(cd spring-cloud-netflix-hystrix-contract && ../mvnw clean install ${@}) +./mvnw clean install ${@}