tachiyomi-extensions-inspector/.github/scripts/create-repo.sh

14 lines
299 B
Bash
Raw Normal View History

2021-01-21 11:45:05 +01:00
#!/bin/bash
set -e
mkdir -p repo/
2021-01-21 23:07:24 +01:00
# Get last commit message
last_commit_log=$(git log -1 --pretty=format:"%s")
echo "last commit log: $last_commit_log"
2021-01-21 13:04:21 +01:00
2021-01-21 23:07:24 +01:00
filter_count=$(echo "$last_commit_log" | grep -c "[RELEASE CI]" )
if [ "$filter_count" -gt 0 ]; then
cp server/build/Tachidesk-*.jar repo/
fi