]> git.sven.stormbind.net Git - sven/vym.git/commitdiff
Update instructions to generate source tarball
authorSven Hoexter <sven@stormbind.net>
Mon, 11 Aug 2025 12:36:22 +0000 (14:36 +0200)
committerSven Hoexter <sven@stormbind.net>
Mon, 11 Aug 2025 12:36:22 +0000 (14:36 +0200)
debian/README.source

index 66d6fadbea8c96fa5a7df3aef181850edef345f1..269cf40913646e0fc732e66a6718dced08614886 100644 (file)
@@ -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`.