FreeKill/mkfksource.sh
2023-09-21 23:21:28 +08:00

16 lines
231 B
Bash
Executable File

#!/bin/bash
dir=FreeKill-${FK_VER}
mkdir $dir
echo Copying
cp -r ./FreeKill/.git $dir
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