Skip to content

Commit 1356650

Browse files
committed
Update goreleaser
1 parent 2fc2b07 commit 1356650

File tree

1 file changed

+17
-49
lines changed

1 file changed

+17
-49
lines changed

.goreleaser.yml

Lines changed: 17 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ changelog:
3030

3131
# https://goreleaser.com/customization/homebrew/
3232
brews:
33-
- tap:
33+
- repository:
3434
owner: bbkane
3535
name: homebrew-tap
3636
# Optionally a token can be provided, if it differs from the token provided to GoReleaser
@@ -43,54 +43,22 @@ brews:
4343
See https://www.macworld.com/article/3140183/how-to-install-an-app-in-macos-sierra-thats-not-signed-by-a-developer.html to work around that
4444
homepage: "https://github.com/bbkane/grabbit"
4545
description: "Grab images from subreddits! Useful for getting interesting wallpapers"
46-
plist: |
47-
<?xml version="1.0" encoding="UTF-8"?>
48-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
49-
<plist version="1.0">
50-
<dict>
5146

52-
<!-- Not sure these are necessary -->
53-
<key>EnvironmentVariables</key>
54-
<dict>
55-
<key>PATH</key>
56-
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin</string>
57-
</dict>
58-
59-
<key>Label</key>
60-
<string>#{plist_name}</string>
61-
62-
<key>ProgramArguments</key>
63-
<array>
64-
<string>#{opt_bin}/grabbit</string>
65-
<string>grab</string>
66-
</array>
67-
68-
<key>RunAtLoad</key>
69-
<true/>
70-
71-
<key>StartCalendarInterval</key>
72-
<array>
73-
<dict>
74-
<key>Hour</key>
75-
<integer>10</integer>
76-
<key>Minute</key>
77-
<integer>0</integer>
78-
<!-- Monday is 1 -->
79-
<key>Weekday</key>
80-
<integer>1</integer>
81-
</dict>
82-
</array>
83-
</dict>
84-
85-
</plist>
47+
# https://crontab.guru/#8_10_*_*_Mon
48+
# https://docs.brew.sh/Formula-Cookbook#service-block-methods
49+
# https://goreleaser.com/customization/homebrew/
50+
# https://github.com/goreleaser/goreleaser/issues/3990
51+
service: |
52+
run [opt_bin/"grabbit", "grab"]
53+
run_type :cron
54+
cron "8 21 * * Mon"
8655
8756
# https://goreleaser.com/customization/scoop/
88-
scoop:
89-
bucket:
90-
owner: bbkane
91-
name: scoop-bucket
92-
token: "{{ .Env.KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP }}"
93-
description: "A small single-binary CLI to grab images from Reddit"
94-
homepage: "https://github.com/bbkane/grabbit"
95-
license: MIT
96-
57+
scoops:
58+
- repository:
59+
owner: bbkane
60+
name: scoop-bucket
61+
token: "{{ .Env.KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP }}"
62+
description: "A small single-binary CLI to grab images from Reddit"
63+
homepage: "https://github.com/bbkane/grabbit"
64+
license: MIT

0 commit comments

Comments
 (0)