From 5c283223fb092bf41ec081d0f259cf6c0bb0df3e Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Mon, 21 Oct 2019 17:53:32 +0200 Subject: [PATCH] No longer overwrite __git__ -> $VERSION replacement The replacement was going fine, except for makefile. This happened because the new makefile was overwritten by the old (truncated). Now we truncate in place. --- release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release.sh b/release.sh index 8d9bfe7..cbe485f 100755 --- a/release.sh +++ b/release.sh @@ -30,10 +30,10 @@ done # Remove the dist target from the makefile (no recursive releases!), # and the tests/vector.h target, which ships with the tarball. -sed '/tests\/vectors.h:/,$d' makefile > $FOLDER/makefile +sed -i '/tests\/vectors.h:/,$d' $FOLDER/makefile # Remove contributor notes from the README -sed '/Contributor notes/,$d' README.md > $FOLDER/README.md +sed -i '/Contributor notes/,$d' $FOLDER/README.md # Make the actual tarball tar -cvzf $TARBALL $FOLDER -- 2.47.3