From d7ecd3d4ed8a4ef5a130a6181936069efdcdf4de Mon Sep 17 00:00:00 2001 From: Grigorii Merkushev Date: Tue, 21 Sep 2021 10:11:17 +0200 Subject: [PATCH] ci: update release targets --- build/release.mk | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/build/release.mk b/build/release.mk index 69d4988d..cc1a19bf 100644 --- a/build/release.mk +++ b/build/release.mk @@ -1,16 +1,18 @@ -.PHONY : package -package: +.PHONY : release/package +release/package: @($(MAVEN_BIN) versions:set -DnewVersion=\$(subst v,,$(TAG))) @($(MAVEN_BIN) clean package -DskipTests) -.PHONY : sign +.PHONY : release/sign release/sign: @echo "=== [sign] signing packages" @bash $(CURDIR)/build/sign.sh -publish: +.PHONY : release/publish +release/publish: @echo "=== [release/publish] publishing artifacts" @bash $(CURDIR)/build/upload_artifacts_gh.sh -release: package sign publish +.PHONY : release +release: release/package release/sign release/publish @echo "=== [release] full pre-release cycle complete for nix" \ No newline at end of file