summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-03-25 10:36:48 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-03-25 11:02:22 +0100
commit2550153f261c12b9aa53cf77e3464601b47e6fca (patch)
tree28cc14e4e72aff437a9f80998e136e2c9cc5e02b /tools
parenta2ddfdf5a6b967408b40b2a660dda49fd9fd29b3 (diff)
downloadweechat-2550153f261c12b9aa53cf77e3464601b47e6fca.zip
core: remove build of .bz2 and .zst files in `make dist`
Diffstat (limited to 'tools')
-rwxr-xr-xtools/makedist.sh12
1 files changed, 3 insertions, 9 deletions
diff --git a/tools/makedist.sh b/tools/makedist.sh
index dcb6226d4..e11ea0dd2 100755
--- a/tools/makedist.sh
+++ b/tools/makedist.sh
@@ -19,15 +19,15 @@
#
#
-# Build gzip/bzip2/xz tarballs for WeeChat using git-archive.
+# Build compressed tarballs for WeeChat using git-archive.
#
# Syntax: makedist.sh [<version> [<tree-ish> [<path>]]]
#
# Optional arguments:
#
-# version WeeChat version, for example 1.6 or 1.7-dev
+# version WeeChat version, for example 4.0.0 or 4.1.0-dev
# defaults to current devel version (output of "version.sh devel-full")
-# tree-ish git tree-ish, example: v1.6
+# tree-ish git tree-ish, example: v4.0.0
# defaults to "HEAD"
# path where to put packages
# defaults to current directory
@@ -69,11 +69,5 @@ FILE="${OUTPATH}/weechat-${VERSION}.tar"
echo "Building package ${FILE}.gz"
git archive --prefix="${PREFIX}" "${TREEISH}" | gzip -c >"${FILE}.gz"
-echo "Building package ${FILE}.bz2"
-git archive --prefix="${PREFIX}" "${TREEISH}" | bzip2 -c >"${FILE}.bz2"
-
echo "Building package ${FILE}.xz"
git archive --prefix="${PREFIX}" "${TREEISH}" | xz -c >"${FILE}.xz"
-
-echo "Building package ${FILE}.zst"
-git archive --prefix="${PREFIX}" "${TREEISH}" | zstd -c -15 >"${FILE}.zst"