This change contributes the CI scripts required to build and release the
project.

Signed-off-by: Ben Hale <bhale@vmware.com>
This commit is contained in:
Ben Hale
2020-07-01 09:10:19 -07:00
parent df4abb7b21
commit 4e37346e2d
11 changed files with 209 additions and 0 deletions

11
scripts/deploy.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
[[ -d "${PWD}"/maven && ! -d "${HOME}"/.m2 ]] && ln -s "${PWD}"/maven "${HOME}"/.m2
REPOSITORY="${PWD}"/repository
cd source
./mvnw deploy -Dmaven.test.skip=true -DaltDeploymentRepository="local::default::file://${REPOSITORY}"