Add brew tap release via goreleaser (#1992)
This commit is contained in:
parent
ae7872ab90
commit
3d7b8da655
1 changed files with 47 additions and 17 deletions
|
|
@ -52,24 +52,54 @@ changelog:
|
|||
- '^docs:'
|
||||
- '^test:'
|
||||
nfpms:
|
||||
- id: default
|
||||
package_name: evcc
|
||||
file_name_template: '{{ .ConventionalFileName }}'
|
||||
- id: default
|
||||
package_name: evcc
|
||||
file_name_template: '{{ .ConventionalFileName }}'
|
||||
|
||||
homepage: https://evcc.io
|
||||
description: EV Charge Controller
|
||||
maintainer: andig <cpuidle@gmx.de>
|
||||
license: MIT
|
||||
vendor: evcc.io
|
||||
homepage: https://evcc.io
|
||||
description: EV Charge Controller
|
||||
maintainer: andig <cpuidle@gmx.de>
|
||||
license: MIT
|
||||
vendor: evcc.io
|
||||
|
||||
formats:
|
||||
- deb
|
||||
formats:
|
||||
- deb
|
||||
|
||||
contents:
|
||||
- src: ./packaging/init/evcc.service
|
||||
dst: /lib/systemd/system/evcc.service
|
||||
contents:
|
||||
- src: ./packaging/init/evcc.service
|
||||
dst: /lib/systemd/system/evcc.service
|
||||
|
||||
scripts:
|
||||
postinstall: ./packaging/scripts/postinstall.sh
|
||||
preremove: ./packaging/scripts/preremove.sh
|
||||
postremove: ./packaging/scripts/postremove.sh
|
||||
scripts:
|
||||
postinstall: ./packaging/scripts/postinstall.sh
|
||||
preremove: ./packaging/scripts/preremove.sh
|
||||
postremove: ./packaging/scripts/postremove.sh
|
||||
brews:
|
||||
- tap:
|
||||
owner: evcc-io
|
||||
name: homebrew-tap
|
||||
commit_author:
|
||||
name: andig
|
||||
email: cpuidle@gmx.de
|
||||
folder: Formula
|
||||
homepage: "https://evcc.io"
|
||||
description: "Sonne tanken ☀️🚘"
|
||||
license: "MIT"
|
||||
test: |
|
||||
system "#{bin}/evcc --version"
|
||||
plist: |
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>#{plist_name}</string>
|
||||
<key>Program</key>
|
||||
<string>#{bin}/evcc</string>
|
||||
<key>WorkingDirectory</key>
|
||||
<string>#{HOMEBREW_PREFIX}</string>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
||||
Loading…
Add table
Add a link
Reference in a new issue