Compare commits

...

2 Commits

Author SHA1 Message Date
Caleb Maclennan
38cafefd79 Merge branch 'update-checksums-on-edit' into 'master'
feat(build): update checksums when editing source files during build

See merge request archlinux/devtools!240
2025-08-18 18:38:19 +03:00
Caleb Maclennan
f2db03786a feat(build): update checksums when editing source files during build
Using the --edit option while doing a build frequently implies making
changes to the sources...whether it is updating a URL or dropping
obsolete patches or other changes. It isn't a 100% correlation of
course, but more often than not any changes made during editing are
*expected* to also update the checksums to be in sync.

Using the --pkgver option already triggers this, but other subsequent
edits do not making for frequent failed edit/build cycles.
2024-03-02 11:22:31 +03:00

View File

@@ -196,6 +196,7 @@ pkgctl_build() {
;;
-e|--edit)
EDIT=1
UPDATE_CHECKSUMS=1
shift
;;
-o|--offload)