mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 01:46:19 +02:00
Compare commits
1 Commits
5822285bb7
...
master
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3f0ebbc6d2 |
@@ -197,7 +197,6 @@ _pkgctl_build_args=(
|
||||
--pkgrel
|
||||
--rebuild
|
||||
--update-checksums
|
||||
--version-upgrade
|
||||
-e --edit
|
||||
|
||||
-r --release
|
||||
|
@@ -59,7 +59,6 @@ _pkgctl_build_args=(
|
||||
'--pkgrel=[Set pkgrel to a given value]:pkgrel:'
|
||||
'--rebuild[Increment the pkgrel variable]'
|
||||
'--update-checksums[Force computation and update of the checksums (disables auto-detection)]'
|
||||
'--version-upgrade[Adjust the PKGBUILD to match the latest upstream version (via pkgctl version upgrade)]'
|
||||
'(-e --edit)'{-e,--edit}'[Edit the PKGBUILD before building]'
|
||||
'(-r --release)'{-r,--release}'[Automatically commit, tag and release after building]'
|
||||
'(-m --message)'{-m,--message}"[Use the given <msg> as the commit message]:message:"
|
||||
|
@@ -84,9 +84,6 @@ PKGBUILD Options
|
||||
are either automatically updated when upgrading a package using `--pkgver`
|
||||
or should remain immutable during rebuilds.
|
||||
|
||||
*--version-upgrade*::
|
||||
Adjust the PKGBUILD to match the latest upstream version (via `pkgctl version upgrade`).
|
||||
|
||||
*-e, --edit*::
|
||||
Edit the PKGBUILD before building
|
||||
|
||||
|
@@ -67,7 +67,6 @@ pkgctl_build_usage() {
|
||||
--pkgrel=PKGREL Set pkgrel to a given value
|
||||
--rebuild Increment the current pkgrel variable
|
||||
--update-checksums Force computation and update of the checksums (disables auto-detection)
|
||||
--version-upgrade Adjust the PKGBUILD to match the latest upstream version (via pkgctl version upgrade)
|
||||
-e, --edit Edit the PKGBUILD before building
|
||||
|
||||
RELEASE OPTIONS
|
||||
@@ -117,7 +116,6 @@ pkgctl_build() {
|
||||
fi
|
||||
|
||||
local UPDATE_CHECKSUMS=0
|
||||
local VERSION_UPGRADE=0
|
||||
local EDIT=0
|
||||
local REBUILD=0
|
||||
local OFFLOAD=0
|
||||
@@ -189,10 +187,6 @@ pkgctl_build() {
|
||||
UPDATE_CHECKSUMS=1
|
||||
shift
|
||||
;;
|
||||
--version-upgrade)
|
||||
VERSION_UPGRADE=1
|
||||
shift
|
||||
;;
|
||||
--rebuild)
|
||||
# shellcheck source=src/lib/util/git.sh
|
||||
source "${_DEVTOOLS_LIBRARY_DIR}"/lib/util/git.sh
|
||||
@@ -458,13 +452,6 @@ pkgctl_build() {
|
||||
. ./PKGBUILD
|
||||
fi
|
||||
|
||||
# update PKGBUILD to the latest upstream version
|
||||
if (( VERSION_UPGRADE )); then
|
||||
if ! $(pkgctl_version_upgrade); then
|
||||
die
|
||||
fi
|
||||
fi
|
||||
|
||||
# execute build
|
||||
for arch in "${BUILD_ARCH[@]}"; do
|
||||
if [[ -n $arch ]]; then
|
||||
|
@@ -188,6 +188,7 @@ path = [
|
||||
"README.md",
|
||||
"keys/**",
|
||||
".SRCINFO",
|
||||
".gitignore",
|
||||
".nvchecker.toml",
|
||||
"*.install",
|
||||
"*.sysusers",
|
||||
|
Reference in New Issue
Block a user