Skip to content

Commit

Permalink
ci: update release targets
Browse files Browse the repository at this point in the history
  • Loading branch information
brushknight committed Sep 21, 2021
1 parent bb65c21 commit d7ecd3d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build/release.mk
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit d7ecd3d

Please sign in to comment.