mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-26 16:51:50 +01:00
14 lines
393 B
Bash
Executable File
14 lines
393 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Get last commit message
|
|
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"
|
|
|
|
if [ "$filter_count" -gt 0 ]; then
|
|
mkdir -p repo/
|
|
cp server/build/Tachidesk-*.jar repo/
|
|
cp server/build/Tachidesk-*.zip repo/
|
|
fi |