Always create new package when building

master
Perttu Ahola 10 years ago
parent 6d606fe90f
commit 032b3467f4
  1. 12
      minetest-worldtest.sh

@ -86,14 +86,10 @@ for ruledir in $rulesdir/*; do
mtdir=$builddir/minetest-$tag
# Make package if doesn't already exist
pkg="$builddir/$tag.tar"
if [ -a "$pkg" ]; then
echo "== Package exists for $tag"
else
echo "== Creating package for $tag"
pushd $clonedir &>/dev/null
git archive --format tar $tag > "$pkg"
popd &>/dev/null
fi
echo "== Creating package for $tag"
pushd $clonedir &>/dev/null
git archive --format tar $tag > "$pkg"
popd &>/dev/null
# Build if hasn't already been built
check_built_minetest "$mtdir"
if [ "$?" == "0" ]; then

Loading…
Cancel
Save