]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Update upload-release.sh script and po files. elfutils-0.175
authorMark Wielaard <mark@klomp.org>
Fri, 16 Nov 2018 11:44:53 +0000 (12:44 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 16 Nov 2018 11:44:53 +0000 (12:44 +0100)
Signed-off-by: Mark Wielaard <mark@klomp.org>
config/upload-release.sh
po/de.po
po/es.po
po/ja.po
po/pl.po
po/uk.po

index 320d1ada7a3ac971945a7ab6a61fa60ee5085965..a44d40c90dea557dcd205957f96f153669ef13ef 100755 (executable)
@@ -1,5 +1,10 @@
 #!/bin/bash
 
+# Must be run in the source directory.
+# Should have passed make distcheck.
+# And all final changes should already have been pushed.
+# Backup copy will be created in $HOME/elfutils-$VERSION
+
 # Any error is fatal
 set -e
 
@@ -11,21 +16,44 @@ fi
 
 VERSION="$1"
 
-# Check we are in the build dir already configured.
-ELFUTILS_VERSION=$(echo $VERSION | cut -f2 -d\.)
-grep $ELFUTILS_VERSION version.h \
-       || (echo "Must be run in configured build dir for $VERSION"; exit -1)
+echo Make sure the git repo is tagged, signed and pushed
+echo git tag -s -m \"elfutils $VERSION release\" elfutils-$VERSION
+echo git push --tags
+
+# Create a temporary directoy and make sure it is cleaned up.
+tempdir=$(mktemp -d) || exit
+trap "rm -rf -- ${tempdir}" EXIT
+
+pushd "${tempdir}"
+
+# Checkout
+git clone git://sourceware.org/git/elfutils.git
+cd elfutils
+git checkout -b "$VERSION" "elfutils-${VERSION}"
 
+# Create dist
+autoreconf -v -f -i
+./configure --enable-maintainer-mode
 make dist
 
+# Sign
 mkdir $VERSION
 cp elfutils-$VERSION.tar.bz2 $VERSION/
 cd $VERSION/
 gpg -b elfutils-$VERSION.tar.bz2
 cd ..
-scp -r $VERSION sourceware.org:/sourceware/ftp/pub/elfutils/
 
+# Backup copy
+cp -r $VERSION $HOME/elfutils-$VERSION
+
+# Upload
+scp -r $VERSION sourceware.org:/sourceware/ftp/pub/elfutils/
 ssh sourceware.org "(cd /sourceware/ftp/pub/elfutils \
   && ln -sf $VERSION/elfutils-$VERSION.tar.bz2 elfutils-latest.tar.bz2 \
   && ln -sf $VERSION/elfutils-$VERSION.tar.bz2.sig elfutils-latest.tar.bz2.sig \
   && ls -lah elfutils-latest*)"
+
+# Cleanup
+popd
+trap - EXIT
+exit
index 3aac9b6c826a3e3bbfcfa67aa0ff16e40c896cd2..88d7e6bc16807cbec4ada15333882ed31567d1e0 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -11,7 +11,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: elfutils VERSION\n"
 "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n"
-"POT-Creation-Date: 2018-11-14 13:04+0100\n"
+"POT-Creation-Date: 2018-11-16 12:42+0100\n"
 "PO-Revision-Date: 2009-06-29 15:15+0200\n"
 "Last-Translator: Michael Münch <micm@fedoraproject.org>\n"
 "Language-Team: German\n"
@@ -531,7 +531,7 @@ msgid "No backend"
 msgstr "Kein Backend"
 
 #: libebl/eblcorenotetypename.c:100 libebl/eblobjnotetypename.c:77
-#: libebl/eblobjnotetypename.c:111 libebl/eblobjnotetypename.c:132
+#: libebl/eblobjnotetypename.c:109 libebl/eblobjnotetypename.c:130
 #: libebl/eblosabiname.c:73 libebl/eblsectionname.c:83
 #: libebl/eblsectiontypename.c:115 libebl/eblsegmenttypename.c:79
 msgid "<unknown>"
index 7fb8ac306f1e96b9db20c1098c35336605cf3580..ad84e9e985a6cf9372ae63084ba281ed804355ad 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -10,7 +10,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: elfutils.master.es\n"
 "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n"
-"POT-Creation-Date: 2018-11-14 13:04+0100\n"
+"POT-Creation-Date: 2018-11-16 12:42+0100\n"
 "PO-Revision-Date: 2011-01-10 15:17-0300\n"
 "Last-Translator: Claudio Rodrigo Pereyra Diaz <claudiorodrigo@pereyradiaz."
 "com.ar>\n"
@@ -529,7 +529,7 @@ msgid "No backend"
 msgstr "No hay segundo plano (Backend)"
 
 #: libebl/eblcorenotetypename.c:100 libebl/eblobjnotetypename.c:77
-#: libebl/eblobjnotetypename.c:111 libebl/eblobjnotetypename.c:132
+#: libebl/eblobjnotetypename.c:109 libebl/eblobjnotetypename.c:130
 #: libebl/eblosabiname.c:73 libebl/eblsectionname.c:83
 #: libebl/eblsectiontypename.c:115 libebl/eblsegmenttypename.c:79
 msgid "<unknown>"
index 1823da2daf571550a1ed857a2d771b66427c6e59..fc47ba2083e1f925d3b516d84606c9b35588e66d 100644 (file)
--- a/po/ja.po
+++ b/po/ja.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: ja\n"
 "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n"
-"POT-Creation-Date: 2018-11-14 13:04+0100\n"
+"POT-Creation-Date: 2018-11-16 12:42+0100\n"
 "PO-Revision-Date: 2009-09-20 15:32+0900\n"
 "Last-Translator: Hyu_gabaru Ryu_ichi <hyu_gabaru@yahoo.co.jp>\n"
 "Language-Team: Japanese <jp@li.org>\n"
@@ -528,7 +528,7 @@ msgid "No backend"
 msgstr "バックエンドがありません"
 
 #: libebl/eblcorenotetypename.c:100 libebl/eblobjnotetypename.c:77
-#: libebl/eblobjnotetypename.c:111 libebl/eblobjnotetypename.c:132
+#: libebl/eblobjnotetypename.c:109 libebl/eblobjnotetypename.c:130
 #: libebl/eblosabiname.c:73 libebl/eblsectionname.c:83
 #: libebl/eblsectiontypename.c:115 libebl/eblsegmenttypename.c:79
 msgid "<unknown>"
index 3c6b468eb1b6a810a7f00b8b278b9c86385c7c39..546fe3e364f8ed0e9eda7b775f20611250e76593 100644 (file)
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: elfutils\n"
 "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n"
-"POT-Creation-Date: 2018-11-14 13:04+0100\n"
+"POT-Creation-Date: 2018-11-16 12:42+0100\n"
 "PO-Revision-Date: 2016-12-29 17:48+0100\n"
 "Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
 "Language-Team: Polish <trans-pl@lists.fedoraproject.org>\n"
@@ -524,7 +524,7 @@ msgid "No backend"
 msgstr "Brak zaplecza"
 
 #: libebl/eblcorenotetypename.c:100 libebl/eblobjnotetypename.c:77
-#: libebl/eblobjnotetypename.c:111 libebl/eblobjnotetypename.c:132
+#: libebl/eblobjnotetypename.c:109 libebl/eblobjnotetypename.c:130
 #: libebl/eblosabiname.c:73 libebl/eblsectionname.c:83
 #: libebl/eblsectiontypename.c:115 libebl/eblsegmenttypename.c:79
 msgid "<unknown>"
index c46ad048555f69b733493bf5337de8433ee3ec40..79d9c91125f72ad5f3903f86ab0fe3960bd5796d 100644 (file)
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: https://sourceware.org/bugzilla/\n"
-"POT-Creation-Date: 2018-11-14 13:04+0100\n"
+"POT-Creation-Date: 2018-11-16 12:42+0100\n"
 "PO-Revision-Date: 2015-09-26 16:41+0300\n"
 "Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
 "Language-Team: Ukrainian <kde-i18n-uk@kde.org>\n"
@@ -525,7 +525,7 @@ msgid "No backend"
 msgstr "Немає сервера"
 
 #: libebl/eblcorenotetypename.c:100 libebl/eblobjnotetypename.c:77
-#: libebl/eblobjnotetypename.c:111 libebl/eblobjnotetypename.c:132
+#: libebl/eblobjnotetypename.c:109 libebl/eblobjnotetypename.c:130
 #: libebl/eblosabiname.c:73 libebl/eblsectionname.c:83
 #: libebl/eblsectiontypename.c:115 libebl/eblsegmenttypename.c:79
 msgid "<unknown>"