Skip to content

Commit

Permalink
add release-site target
Browse files Browse the repository at this point in the history
  • Loading branch information
hgschmie committed Sep 22, 2023
1 parent c8cfc9a commit ea3c5ca
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#
SHELL = /bin/sh
.SUFFIXES:
.PHONY: help clean install install-notests install-nodocker install-fast tests run-tests run-tests-nodocker deploy release deploy-site
.PHONY: help clean install install-notests install-nodocker install-fast tests run-tests run-tests-nodocker deploy release deploy-site release-site

MAVEN = ./mvnw ${JDBI_MAVEN_OPTS}

Expand Down Expand Up @@ -58,8 +58,12 @@ deploy-site:
release:
${MAVEN} clean release:clean release:prepare release:perform

release-site: MAVEN_CONFIG += -Pjdbi-release
release-site:
${MAVEN} clean install site-deploy

help:
@echo " * clean - clean local build tree"
@echo " * clean - clean local build tree"
@echo " * install - build, run static analysis and unit tests, then install in the local repository"
@echo " * install-notests - same as 'install', but skip unit tests"
@echo " * install-nodocker - same as 'install', but skip unit tests that require a local docker installation"
Expand All @@ -77,3 +81,4 @@ help:
@echo " * deploy - builds and deploys the current version to the Sonatype OSS repository"
@echo " * deploy-site - builds and deploys the documentation site"
@echo " * release - create and deploy a Jdbi release"
@echo " * release-site - builds and deploys the documentation site for a release"

0 comments on commit ea3c5ca

Please sign in to comment.