1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

docs: added documentation for post_install step in homebrew section (#2138)

This commit is contained in:
leonwright 2021-03-23 09:50:12 -05:00 committed by GitHub
parent cb77d654a0
commit 291e497cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,13 @@ brews:
install: |
bin.install "program"
...
# Custom post_install script for brew.
# Could be used to do any additional work after the "install" script
# Default is empty.
post_install: |
etc.install "app-config.conf"
...
```
!!! tip
@ -171,6 +178,10 @@ class Program < Formula
def install
bin.install "program"
end
def post_install
etc.install "app-config.conf"
end
end
```