Skip to content

Commit

Permalink
Merge pull request #88 from archlinux/remove-bump_pkgrel
Browse files Browse the repository at this point in the history
rebuild-todo: Remove deprecated 'bump_pkgrel' function and '--no-bump' option
  • Loading branch information
Antiz96 authored Jan 10, 2025
2 parents 435e2bd + bdae782 commit 0095ad7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions package/rebuild-todo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0095ad7

Please sign in to comment.