summaryrefslogtreecommitdiffstats
path: root/scripts/make-archive.sh
diff options
context:
space:
mode:
authorTomas Krizek <tomas.krizek@nic.cz>2020-05-18 11:18:26 +0200
committerTomas Krizek <tomas.krizek@nic.cz>2020-05-27 10:12:41 +0200
commit3e1acca71437ac9f903eeb5c46fbfd9eaa67024a (patch)
tree319a578dce1e29a804982eea7d7f98debba96801 /scripts/make-archive.sh
parenttests/packaging: python nitpicks (diff)
downloadknot-resolver-3e1acca71437ac9f903eeb5c46fbfd9eaa67024a.tar.xz
knot-resolver-3e1acca71437ac9f903eeb5c46fbfd9eaa67024a.zip
scripts: remove obsolete make-archive.sh
Diffstat (limited to 'scripts/make-archive.sh')
-rwxr-xr-xscripts/make-archive.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/scripts/make-archive.sh b/scripts/make-archive.sh
deleted file mode 100755
index c20c032e..00000000
--- a/scripts/make-archive.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh -e
-# SPDX-License-Identifier: GPL-3.0-or-later
-# Create a distribution tarball, like 'make dist' from autotools.
-cd "$(git rev-parse --show-toplevel)"
-ver="$(git describe | sed 's/^v//')"
-test 0 -ne $(git status --porcelain | wc -l) && \
- echo "Git working tree is dirty, make it clean first" && \
- exit 1
-git submodule status --recursive | grep -q '^[^ ]' && \
- echo "Git submodules are dirty, run: git submodule update --recursive --init" && \
- exit 2
-
-# 'git ls-files --recurse-submodules' works only if modules are initialized
-name="knot-resolver-$ver"
-tar caf "$name.tar.xz" --no-recursion --transform "s|^|$name/|" -- $(git ls-files --recurse-submodules)
-echo "$name.tar.xz"