author | haftmann |
Tue, 02 Jan 2018 23:04:15 +0100 | |
changeset 67331 | a8770603a269 |
parent 63143 | ef72b104fa32 |
permissions | -rwxr-xr-x |
#!/usr/bin/env bash set -e VERSION=1 # Build JAR and fetch sources mvn package # Copy to correct location mkdir -p lib cp "target/ci-extras-1.0-SNAPSHOT-jar-with-dependencies.jar" "lib/ci-extras.jar" # Clean up mvn clean # Package component rm -rf dist && mkdir -p dist tar czf "dist/ci-extras-${VERSION}.tar.gz" --exclude dist --transform "s/^\\./ci-extras-${VERSION}/" .