caskpatch

command
v0.5.0-beta.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2026 License: PostgreSQL Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command caskpatch adds a postflight_steps block to the Homebrew cask goreleaser writes, so a brew-installed macOS binary has its quarantine attribute cleared. The binary is not notarized, and with the attribute set macOS refuses it as "damaged and cannot be opened".

go run ./cmd/caskpatch -in dist/homebrew/Casks/pgedge.rb -out dist/tap/Casks/pgedge.rb

goreleaser's own hooks can only emit the deprecated postflight block, which makes brew install print a warning, and its custom_block lands at the top of the cask, where brew style rejects the stanza order.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL