[COMMITTED] config: Add git tag --verify to upload-release.sh.

Mark Wielaard mark@klomp.org
Mon Apr 15 14:09:00 GMT 2019


Add a check to make sure we have to correct (signed) tag.

Signed-off-by: Mark Wielaard <mark@klomp.org>
---
 config/ChangeLog         | 4 ++++
 config/upload-release.sh | 1 +
 2 files changed, 5 insertions(+)

diff --git a/config/ChangeLog b/config/ChangeLog
index f956780..9b1cce4 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2019-04-15  Mark Wielaard  <mark@klomp.org>
+
+	* upload-release.sh: Add git tag --verify.
+
 2019-02-14  Mark Wielaard  <mark@klomp.org>
 
 	* elfutils.spec.in: Update for 0.176.
diff --git a/config/upload-release.sh b/config/upload-release.sh
index 470644d..df5e3a0 100755
--- a/config/upload-release.sh
+++ b/config/upload-release.sh
@@ -29,6 +29,7 @@ pushd "${tempdir}"
 # Checkout
 git clone git://sourceware.org/git/elfutils.git
 cd elfutils
+git tag --verify "elfutils-${VERSION}"
 git checkout -b "$VERSION" "elfutils-${VERSION}"
 
 # Create dist
-- 
1.8.3.1



More information about the Elfutils-devel mailing list