From bdae78282bd081543fc5b8c6e7a3bf29dedf8691 Mon Sep 17 00:00:00 2001 From: Robin Candau Date: Fri, 10 Jan 2025 10:13:26 +0100 Subject: [PATCH] rebuild-todo: Remove deprecated 'bump_pkgrel' function and '--no-bump' option The former is irrelevant / useless since we now use 'pkgctl --rebuild' The latter just isn't a thing anymore --- package/rebuild-todo | 8 -------- 1 file changed, 8 deletions(-) diff --git a/package/rebuild-todo b/package/rebuild-todo index 296cdd2..d024ea1 100755 --- a/package/rebuild-todo +++ b/package/rebuild-todo @@ -6,13 +6,6 @@ set -eou pipefail PROGNAME="${BASH_SOURCE[0]##*/}" -bump_pkgrel() { - oldrel=$(grep 'pkgrel=' < <(svn cat PKGBUILD) | cut -d= -f2) - rel=${oldrel%%.*} - newrel=$((rel + 1)) - sed -i "s/pkgrel=$oldrel/pkgrel=$newrel/" PKGBUILD -} - usage() { cat <<- _EOF_ Usage: ${PROGNAME} [OPTIONS] URL @@ -31,7 +24,6 @@ usage() { --import-keys Import PGP keys for packages source verification into the user's keyring --no-build Don't build PKGBUILD --no-publish Don't run commitpkg after building - --no-bump Don't bump pkgrel before building (default bumps pkgrel) --testing Publish towards testing --staging Publish towards staging --skip-broken Skip broken packages