2021-01-21 11:45:05 +01:00
|
|
|
#!/bin/bash
|
2021-01-21 23:25:41 +01:00
|
|
|
|
2021-01-21 23:07:24 +01:00
|
|
|
# Get last commit message
|
2021-02-08 03:06:19 +01:00
|
|
|
#last_commit_log=$(git log -1 --pretty=format:"%s")
|
|
|
|
#echo "last commit log: $last_commit_log"
|
|
|
|
#
|
|
|
|
#filter_count=$(echo "$last_commit_log" | grep -e '\[RELEASE CI\]' -e '\[CI RELEASE\]' | wc -c)
|
|
|
|
#echo "count is: $filter_count"
|
2021-01-21 13:04:21 +01:00
|
|
|
|
2021-02-08 03:06:19 +01:00
|
|
|
mkdir -p repo/
|
|
|
|
cp server/build/Tachidesk-*.jar repo/
|
|
|
|
cp server/build/Tachidesk-*.zip repo/
|
2021-01-21 23:07:24 +01:00
|
|
|
|
2021-02-13 11:31:01 +01:00
|
|
|
ls repo
|
|
|
|
pwd
|
2021-02-08 03:06:19 +01:00
|
|
|
|
|
|
|
#if [ "$filter_count" -gt 0 ]; then
|
|
|
|
# cp server/build/Tachidesk-*.jar repo/
|
|
|
|
# cp server/build/Tachidesk-*.zip repo/
|
|
|
|
#fi
|