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