From c8f4bc58fb687f4c2b503e0f9ea6332993ea96c5 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 15 Aug 2023 15:01:51 +0200 Subject: [PATCH] Best-effort CI fixing concept --- .github/setup/copr-custom-script | 8 ++++ .../0001-Bump-to-a-pre-release-versions.patch | 39 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 .github/setup/patches/0001-Bump-to-a-pre-release-versions.patch diff --git a/.github/setup/copr-custom-script b/.github/setup/copr-custom-script index 8801c61a..905ea008 100644 --- a/.github/setup/copr-custom-script +++ b/.github/setup/copr-custom-script @@ -23,6 +23,14 @@ git clone \ cd "$workdir" webhook-checkout "$hook_payload" +git config --global user.email "you@example.com" +git config --global user.name "CI for GNU tar on Fedora and EPEL" + +for i in .github/setup/patches/*.patch; do + test -f "$i" || continue + git am "$i" || continue +done + ./bootstrap && ./configure && make dist-xz tarball=$(echo tar-*.tar.xz) version=${tarball%%.tar.xz} diff --git a/.github/setup/patches/0001-Bump-to-a-pre-release-versions.patch b/.github/setup/patches/0001-Bump-to-a-pre-release-versions.patch new file mode 100644 index 00000000..c670cf79 --- /dev/null +++ b/.github/setup/patches/0001-Bump-to-a-pre-release-versions.patch @@ -0,0 +1,39 @@ +From 2cc1b00881938def456dd67b971c5844fbfe2e9b Mon Sep 17 00:00:00 2001 +From: Pavel Raiskup +Date: Tue, 1 Aug 2023 15:32:24 +0200 +Subject: [PATCH] Bump to a pre-release versions + +--- + NEWS | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/NEWS b/NEWS +index 22d66500..222dfd5d 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,7 +1,7 @@ + GNU tar NEWS - User visible changes. 2023-08-02 + Please send GNU tar bug reports to + +-version TBD ++version 1.35.90 + + * New manual section "Reproducibility", for reproducible tarballs. + +diff --git a/configure.ac b/configure.ac +index 338e1834..4367d880 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -17,7 +17,7 @@ + # You should have received a copy of the GNU General Public License + # along with this program. If not, see . + +-AC_INIT([GNU tar], [1.35], [bug-tar@gnu.org]) ++AC_INIT([GNU tar], [1.35.90], [bug-tar@gnu.org]) + AC_CONFIG_SRCDIR([src/tar.c]) + AC_CONFIG_AUX_DIR([build-aux]) + AC_CONFIG_HEADERS([config.h]) +-- +2.41.0 +