tachiyomi-extensions-inspector/.github/scripts/create-repo.sh
2021-01-22 01:37:24 +03:30

14 lines
299 B
Bash
Executable File

#!/bin/bash
set -e
mkdir -p repo/
# 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 -c "[RELEASE CI]" )
if [ "$filter_count" -gt 0 ]; then
cp server/build/Tachidesk-*.jar repo/
fi