github-actions-deploy-aur icon indicating copy to clipboard operation
github-actions-deploy-aur copied to clipboard

Automatically copy all local `source` files

Open thomaseizinger opened this issue 10 months ago • 1 comments

Currently, one has to duplicate all local files that are included in the package as part of assets. However, the action already knows which files should be present: It is specified in the source array.

PKGBUILD files are valid shell scripts. Wouldn't it make more sense to do source PKGBUILD and then iterate over source and copy everything that doesn't start with http://?

thomaseizinger avatar Oct 12 '23 03:10 thomaseizinger

If your PKGBUILD was generated, you can have one source of truth for both assets and PKGBUILD#source.

I also welcome PR to implement new feature, as long as it doesn't break backward-compatibility and error-prone.

KSXGitHub avatar Oct 12 '23 04:10 KSXGitHub