FreeKill/mkfksource.sh

16 lines
231 B
Bash
Raw Permalink Normal View History

2023-08-27 13:22:03 +00:00
#!/bin/bash
dir=FreeKill-${FK_VER}
mkdir $dir
echo Copying
2023-09-21 15:21:28 +00:00
cp -r ./FreeKill/.git $dir
2023-08-27 13:22:03 +00: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