From: Sven Hoexter Date: Mon, 11 Aug 2025 12:36:22 +0000 (+0200) Subject: Update instructions to generate source tarball X-Git-Tag: debian/2.9.588-1~3 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=94d5c320c6edf72e576d6803c385dbf692e6793a;p=sven%2Fvym.git Update instructions to generate source tarball --- diff --git a/debian/README.source b/debian/README.source index 66d6fad..269cf40 100644 --- a/debian/README.source +++ b/debian/README.source @@ -1,8 +1,11 @@ Currently upstream does not provide any release tarballs or release tags in git. Thus the .orig.tar.gz provided in the Debian archive is manually cut from the upstream git -clone. E.g. +repository. E.g. - git archive --format=tar.gz -o ~/debian/vym-2.9.27.tar.gz --prefix=vym-2.9.27/ d9d7b12a05dcffe3bf246cbb73e1cf718bd9dcd7 + v=$(grep __VYM_VERSION src/version.h | cut -d'"' -f 2); \ + git archive --format=tar.gz -o ~/debian/vym-${v}.tar.gz \ + --prefix=vym-${v}/ HEAD && \ + echo "Archive vym-${v}.tar.gz commit $(git rev-parse HEAD)" -and imported with `gbp import-orig ../vym-2.9.27.tar.gz`. \ No newline at end of file +and imported with `gbp import-orig ../vym-2.9.27.tar.gz`.