From 2550153f261c12b9aa53cf77e3464601b47e6fca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 25 Mar 2023 10:36:48 +0100 Subject: [PATCH] core: remove build of .bz2 and .zst files in `make dist` --- ChangeLog.adoc | 1 + tools/makedist.sh | 12 +++--------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 7de0dfadc..330b15c3f 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -63,6 +63,7 @@ Build:: * core: remove build with autotools (issue #1860) * core: remove RPM packaging + * core: remove build of .bz2 and .zst files in `make dist` [[v3.8]] == Version 3.8 (2023-01-08) 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 [ [ []]] # # 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"