From 4827267af690bbd3052d7a613ecc87a030bbb63c Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Thu, 3 Aug 2017 18:13:50 -0400 Subject: [PATCH] chore: add a publish-all make target (#1666) The CI servers currently call `installers-all` to deploy snapshot builds, however that target builds the installers, but doesn't call the phony rules that actually publishes them. Signed-off-by: Juan Cruz Viotti --- Makefile | 6 ++++++ scripts/ci/deploy.sh | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 611f3ed1..f67b3cb1 100644 --- a/Makefile +++ b/Makefile @@ -387,6 +387,7 @@ TARGETS = \ package-cli \ cli-develop \ installers-all \ + publish-all \ electron-develop changelog: @@ -464,6 +465,7 @@ ifeq ($(RELEASE_TYPE),snapshot) -k $(shell date +"%Y-%m-%d"))) endif +PUBLISHABLES += publish-aws-s3 TARGETS += publish-aws-s3 endif @@ -478,6 +480,7 @@ publish-bintray-debian: $(PUBLISH_BINTRAY_DEBIAN) -p $(BINTRAY_REPOSITORY_DEBIAN) \ -c $(BINTRAY_COMPONENT))) +PUBLISHABLES += publish-bintray-debian TARGETS += publish-bintray-debian endif @@ -492,9 +495,12 @@ publish-bintray-redhat: $(PUBLISH_BINTRAY_REDHAT) -p $(BINTRAY_REPOSITORY_REDHAT) \ -c $(BINTRAY_COMPONENT))) +PUBLISHABLES += publish-bintray-redhat TARGETS += publish-bintray-redhat endif +publish-all: $(PUBLISHABLES) + .PHONY: $(TARGETS) cli-develop: diff --git a/scripts/ci/deploy.sh b/scripts/ci/deploy.sh index a344b74f..4aa7558e 100755 --- a/scripts/ci/deploy.sh +++ b/scripts/ci/deploy.sh @@ -48,8 +48,8 @@ if [ "$ARGV_OPERATING_SYSTEM" == "linux" ]; then ./scripts/build/docker/run-command.sh \ -r "$ARGV_ARCHITECTURE" \ -s "$(pwd)" \ - -c "make installers-all" + -c "make publish-all" else ./scripts/build/check-dependency.sh make - make installers-all + make publish-all fi