-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrelease.sh
More file actions
executable file
·43 lines (30 loc) · 1009 Bytes
/
release.sh
File metadata and controls
executable file
·43 lines (30 loc) · 1009 Bytes
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
37
38
39
40
41
42
43
#!/bin/bash
set -x
RELEASE_TAG=${1:-vSNAPSHOT}
rm -rf target
mkdir target
cd Integration
zip -r ../target/Integration-$RELEASE_TAG.zip *
cd -
cp SmartcardAuth-Build/ers-user-auth-app-*.jar target/ers-user-auth-app-$RELEASE_TAG.jar
mkdir target/WindowsServiceDeployment
cp SmartcardAuth/WindowsServiceDeployment/* target/WindowsServiceDeployment
cd SmartcardAuth-Build
for file in ers-user-auth-app-*.jar; do mv "$file" "${file%-v*}.jar"; done
cd -
cp SmartcardAuth-Build/ers-user-auth-app.jar target/WindowsServiceDeployment
cd target/WindowsServiceDeployment
zip ../WindowsServiceDeployment-$RELEASE_TAG.zip *
cd -
mkdir target/DocumentReviewApplication
cp -r Client-Build/* target/DocumentReviewApplication/
mkdir target/DocumentReviewApplication/app
cp -r API-Build/* target/DocumentReviewApplication/app
cd target/DocumentReviewApplication
zip -r ../DocumentReviewApplication-$RELEASE_TAG.zip *
cd -
cd SQL
zip -r ../target/SQL-$RELEASE_TAG.zip *
cd -
cp Release.txt target
cp LICENSE target