mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 16:21:50 +01:00
new preview system!
This commit is contained in:
parent
7ef67671a4
commit
3021437a05
13
.github/scripts/commit-preview.sh
vendored
13
.github/scripts/commit-preview.sh
vendored
@ -1,18 +1,15 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
rm -rf preview/*
|
||||||
cp master/server/build/Tachidesk-*.jar preview
|
cp master/server/build/Tachidesk-*.jar preview
|
||||||
|
cp master/server/build/Tachidesk-*.zip preview
|
||||||
|
|
||||||
cd preview
|
cd preview
|
||||||
|
|
||||||
new_jar_build=$(ls *.jar| tail -1)
|
new_jar_build=$(ls Tachidesk-*.jar)
|
||||||
echo "last jar build file name: $new_jar_build"
|
echo "last jar build file name: $new_jar_build"
|
||||||
|
|
||||||
cp -f $new_jar_build Tachidesk-latest.jar
|
latest=$(echo $new_jar_build | sed -e's/Tachidesk-\|.jar//g')
|
||||||
|
|
||||||
rm -rf latest_pointer/*
|
|
||||||
cp $new_jar_build latest_pointer
|
|
||||||
cp ../master/server/build/Tachidesk-*.zip latest_pointer
|
|
||||||
|
|
||||||
latest=$(ls *.jar | tail -n1 | sed -e's/Tachidesk-\|.jar//g')
|
|
||||||
echo "{ \"latest\": \"$latest\" }" > index.json
|
echo "{ \"latest\": \"$latest\" }" > index.json
|
||||||
|
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user