FreeKill/mkfksource.sh

16 lines
231 B
Bash
Raw Normal View History

2023-08-27 21:22:03 +08:00
#!/bin/bash
dir=FreeKill-${FK_VER}
mkdir $dir
echo Copying
2023-09-21 23:21:28 +08:00
cp -r ./FreeKill/.git $dir
2023-08-27 21:22:03 +08:00
cd $dir
git restore .
git checkout v$FK_VER
rm -rf .git lib docker docs android wasm
cd ..
echo Compressing
tar cfz ${dir}-source.tar.gz $dir