1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-29 21:47:01 +02:00
Ludovic Fernandez 377981ebd7
fix(aur): description with quotes (#5304)
Currently, the field `pkgdesc` is wrapped by simple quotes, but if the
description also contains simple quotes it breaks the package.

So it's not possible to publish a package that contains "Let's Encrypt"
inside the description.

This PR wraps the description with the right quotes depending on the
description content.

If there is a mix of quotes, it replaces, arbitrarily, double quotes
with single quotes.

Example with double quotes inside the description:
https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-release/-/blob/main/PKGBUILD?ref_type=heads

Example with simple quotes inside the description:
https://gitlab.archlinux.org/archlinux/packaging/packages/cargo-modules/-/blob/main/PKGBUILD?ref_type=heads
2024-11-22 09:56:52 -03:00
..
2024-11-16 10:57:48 -03:00
2024-11-16 11:14:59 -03:00
2024-09-27 10:33:17 -03:00
2024-11-16 10:57:48 -03:00
2024-11-16 10:57:48 -03:00
2024-11-21 21:12:52 -03:00
2024-06-22 22:43:57 -03:00
2024-11-16 10:57:48 -03:00
2024-05-26 15:02:57 -03:00