Skip to content

Commit

Permalink
Improved deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonstur committed Jun 24, 2021
1 parent e4bd343 commit 49d2d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ release-notes:
@git log --pretty="%s" $(PREVIOUS_TAG)... master >> src/docs/releases/release-$(VERSION).txt

deploy: build
@git tag $(NAME)-$(VERSION)
@git push && git push --tags
@echo "[$(NAME)] Creating github release"
@hub release create -a target/$(NAME)-$(VERSION).jar -a target/$(NAME)-$(VERSION)-javadoc.jar -a target/$(NAME)-$(VERSION)-sources.jar -F src/docs/releases/release-$(VERSION).txt $(NAME)-$(VERSION)
@echo "[$(NAME)] Uploading to maven central"
@mvn clean deploy -P release
@echo "[$(NAME)] Tagging and pushing to github"
@git tag $(NAME)-$(VERSION)
@git push && git push --tags

build-arm:
@echo "[$(NAME)] Configuring build environment"
Expand Down

0 comments on commit 49d2d5d

Please sign in to comment.