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

10 lines
193 B
Bash
Raw Normal View History

2021-01-21 11:45:05 +01:00
#!/bin/bash
set -e
mkdir -p repo/
2021-01-21 13:31:55 +01:00
revision=$(git rev-list master --count)
2021-01-21 20:34:47 +01:00
# add zero padding
revision=$(printf %04d $revision)
2021-01-21 13:04:21 +01:00
2021-01-21 13:31:55 +01:00
cp server/build/server-1.0-all.jar "repo/server-r$revision.jar"