Always create new package when building
This commit is contained in:
parent
6d606fe90f
commit
032b3467f4
@ -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…
x
Reference in New Issue
Block a user