mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
fix: disable upx for now
This commit is contained in:
parent
b35b8b29d9
commit
aaa9da33d5
@ -42,8 +42,9 @@ builds:
|
|||||||
universal_binaries:
|
universal_binaries:
|
||||||
- replace: false
|
- replace: false
|
||||||
|
|
||||||
upx:
|
# temporarely disables until we add better filters for platforms et al, and test more.
|
||||||
- enabled: true
|
# upx:
|
||||||
|
# - enabled: true
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
@ -14,6 +14,15 @@ the _de facto_ tool for the job.
|
|||||||
GoReleaser has been able to integrate with it via custom [build hooks][bhooks],
|
GoReleaser has been able to integrate with it via custom [build hooks][bhooks],
|
||||||
and now UPX has its own configuration section:
|
and now UPX has its own configuration section:
|
||||||
|
|
||||||
|
!!! warning
|
||||||
|
`upx` does not support all platforms! Make sure to check
|
||||||
|
[their issues][upx-issues] and to test your packed binaries first.
|
||||||
|
|
||||||
|
Namely, _macOS Ventura_ is not supported at the moment.
|
||||||
|
|
||||||
|
Future GoReleaser releases will add more filters so you can cherry-pick
|
||||||
|
which platforms you want to pack or not.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# .goreleaser.yaml
|
# .goreleaser.yaml
|
||||||
upx:
|
upx:
|
||||||
@ -37,3 +46,5 @@ upx:
|
|||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
If `upx` is not in `$PATH`, GoReleaser will automatically avoid running it.
|
If `upx` is not in `$PATH`, GoReleaser will automatically avoid running it.
|
||||||
|
|
||||||
|
[upx-issues]: https://github.com/upx/upx/issues
|
||||||
|
Loading…
Reference in New Issue
Block a user