Skip to content

Commit bdae782

Browse files
committed
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
1 parent 435e2bd commit bdae782

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

package/rebuild-todo

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ set -eou pipefail
66

77
PROGNAME="${BASH_SOURCE[0]##*/}"
88

9-
bump_pkgrel() {
10-
oldrel=$(grep 'pkgrel=' < <(svn cat PKGBUILD) | cut -d= -f2)
11-
rel=${oldrel%%.*}
12-
newrel=$((rel + 1))
13-
sed -i "s/pkgrel=$oldrel/pkgrel=$newrel/" PKGBUILD
14-
}
15-
169
usage() {
1710
cat <<- _EOF_
1811
Usage: ${PROGNAME} [OPTIONS] URL
@@ -31,7 +24,6 @@ usage() {
3124
--import-keys Import PGP keys for packages source verification into the user's keyring
3225
--no-build Don't build PKGBUILD
3326
--no-publish Don't run commitpkg after building
34-
--no-bump Don't bump pkgrel before building (default bumps pkgrel)
3527
--testing Publish towards testing
3628
--staging Publish towards staging
3729
--skip-broken Skip broken packages

0 commit comments

Comments
 (0)