mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-02-25 21:13:37 +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
|
#!/bin/bash
|
||||||
set -e
|
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.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git status
|
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/
|
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 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:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
path: master
|
path: master
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up JDK 1.8
|
- name: Set up JDK 1.8
|
||||||
uses: actions/setup-java@v1
|
uses: actions/setup-java@v1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user