mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-11-01 06:55:06 +01:00
new scripts
This commit is contained in:
parent
33c4cdbc48
commit
687dad5fc0
11
.github/scripts/commit-repo.sh
vendored
11
.github/scripts/commit-repo.sh
vendored
@ -1,7 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
rsync -a --delete --exclude .git --exclude .gitignore ../master/repo/ .
|
||||
cp ../master/repo/server-r* .
|
||||
new_build=$(ls | tail -1)
|
||||
diff $new_build server-latest.jar > /dev/null
|
||||
if [ "$?" -ne 0 ]; then # same file?
|
||||
rm $new_build
|
||||
else
|
||||
cp -f $new_build server-latest.jar
|
||||
fi
|
||||
|
||||
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git status
|
||||
|
3
.github/scripts/create-repo.sh
vendored
3
.github/scripts/create-repo.sh
vendored
@ -3,7 +3,6 @@ set -e
|
||||
|
||||
mkdir -p repo/
|
||||
|
||||
revision=$(git rev-list HEAD --count)
|
||||
revision=$(git rev-list master --count)
|
||||
|
||||
cp server/build/server-1.0-all.jar "repo/server-r$revision.jar"
|
||||
cp -f server/build/server-1.0-all.jar "repo/server-latest.jar"
|
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -35,6 +35,7 @@ jobs:
|
||||
with:
|
||||
ref: master
|
||||
path: master
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
|
Loading…
Reference in New Issue
Block a user