NoIssue: Initial autogenerated files (from 'module_setup-0.0.3')
This commit is contained in:
15
build.sh
Executable file
15
build.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
export VERSION=$(git describe --tags --exact-match 2>/dev/null \
|
||||
|| git symbolic-ref --short -q HEAD \
|
||||
|| git rev-parse --short HEAD)
|
||||
|
||||
GITHASH=$(git rev-parse --short=8 HEAD)
|
||||
|
||||
export VERSION_LONG=${VERSION}_${GITHASH}
|
||||
|
||||
# Build this artifact
|
||||
echo "Building 'NenjimHub v${VERSION_LONG}'..."
|
||||
|
||||
./gradlew -Pversion=$VERSION jar
|
||||
Reference in New Issue
Block a user