2021-01-21 14:15:05 +03:30
|
|
|
#!/bin/bash
|
2021-01-22 01:55:41 +03:30
|
|
|
|
2021-01-22 01:37:24 +03:30
|
|
|
# Get last commit message
|
2021-02-08 05:36:19 +03:30
|
|
|
#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 15:34:21 +03:30
|
|
|
|
2021-02-08 05:36:19 +03:30
|
|
|
mkdir -p repo/
|
|
|
|
cp server/build/Tachidesk-*.jar repo/
|
|
|
|
cp server/build/Tachidesk-*.zip repo/
|
2021-01-22 01:37:24 +03:30
|
|
|
|
2021-02-13 14:01:01 +03:30
|
|
|
ls repo
|
|
|
|
pwd
|
2021-02-08 05:36:19 +03:30
|
|
|
|
|
|
|
#if [ "$filter_count" -gt 0 ]; then
|
|
|
|
# cp server/build/Tachidesk-*.jar repo/
|
|
|
|
# cp server/build/Tachidesk-*.zip repo/
|
|
|
|
#fi
|