-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstaller
More file actions
executable file
·36 lines (30 loc) · 1.18 KB
/
installer
File metadata and controls
executable file
·36 lines (30 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
buildTag=$1
if [ -z "$buildTag" ]; then
buildTag=$(git describe --tags --abbrev=0)
fi
if [ -z "$buildTag" ]; then
buildTag="1.0.0-SNAPSHOT"
fi
echo "Publishing $buildTag"
if ! ./gradlew clean --parallel \
versions:assemble versions:publishToMavenLocal --stacktrace \
utils:assemble utils:publishToMavenLocal --stacktrace \
build-configuration:assemble build-configuration:publishToMavenLocal --stacktrace \
java:assemble java:publishToMavenLocal --stacktrace \
kotlin:assemble kotlin:publishToMavenLocal --stacktrace \
starter:assemble starter:publishToMavenLocal --stacktrace \
security:assemble security:publishToMavenLocal --stacktrace \
data-commons:assemble data-commons:publishToMavenLocal --stacktrace \
-Pgroup=com.github.softwareplace.springboot --refresh-dependencies -Pversion="$buildTag" --stacktrace;
then
echo "Publish sub-plugins failed $buildTag"
exit 1
fi
if ! ./gradlew clean --parallel \
:assemble :publishToMavenLocal --stacktrace \
-Pgroup=com.github.softwareplace.springboot --refresh-dependencies -Pversion="$buildTag" --stacktrace;
then
echo "Publish plugins failed for tag $buildTag"
exit 1
fi