diff --git a/compilation.sh b/compilation.sh index 8f25ee2..248d115 100755 --- a/compilation.sh +++ b/compilation.sh @@ -13,6 +13,7 @@ apt update && apt install curl jq -y # check whether it's up-to-date version_file=$built_dir/version touch $version_file +# also available via gitlab.com/librewolf-community/browser/source/-/raw/main/{version,release} version=$(curl 'https://gitlab.com/api/v4/projects/32320088/packages?sort=desc' | jq '.[0].version' -r) if grep -q $version $version_file; then echo "already up to date, exiting" @@ -44,6 +45,9 @@ tar -xvf ./librewolf-$version/obj-x86_64-pc-linux-gnu/dist/librewolf-$version.en cd ./librewolf/ apt install zstd -y mkdir -p $built_dir +rm ./pingsender +rm ./precomplete +rm ./removed-files tar --zstd -cf $built_dir/$program_name.tar.zst . echo $version >$version_file