Skip to content

Commit a57fe3d

Browse files
committed
Fix .golangci.yml for notarizing
1 parent 24a3dce commit a57fe3d

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.goreleaser.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ homebrew_casks:
6565
homepage: https://github.com/winebarrel/cronplan
6666
description: cronplan is a tool to show next triggers for AWS cron expression.
6767
license: MIT
68+
hooks:
69+
post:
70+
install: |
71+
if OS.mac?
72+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/cronplan"]
73+
end
6874
- name: cronmatch
6975
ids: [cronmatch]
7076
repository:
@@ -73,6 +79,12 @@ homebrew_casks:
7379
homepage: https://github.com/winebarrel/cronplan
7480
description: cronmatch is a tool to check if datetime matches AWS cron expression.
7581
license: MIT
82+
hooks:
83+
post:
84+
install: |
85+
if OS.mac?
86+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/cronmatch"]
87+
end
7688
- name: cronviz
7789
ids: [cronviz]
7890
repository:
@@ -81,6 +93,12 @@ homebrew_casks:
8193
homepage: https://github.com/winebarrel/cronplan
8294
description: cronviz is a tool to visualize cron schedule.
8395
license: MIT
96+
hooks:
97+
post:
98+
install: |
99+
if OS.mac?
100+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/cronviz"]
101+
end
84102
- name: crongrep
85103
ids: [crongrep]
86104
repository:
@@ -89,6 +107,12 @@ homebrew_casks:
89107
homepage: https://github.com/winebarrel/cronplan
90108
description: crongrep is a tool to grep with cron expression.
91109
license: MIT
110+
hooks:
111+
post:
112+
install: |
113+
if OS.mac?
114+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/crongrep"]
115+
end
92116
- name: cronskd
93117
ids: [cronskd]
94118
repository:
@@ -97,6 +121,12 @@ homebrew_casks:
97121
homepage: https://github.com/winebarrel/cronplan
98122
description: cronskd is a tool to show a schedule of cron expressions.
99123
license: MIT
124+
hooks:
125+
post:
126+
install: |
127+
if OS.mac?
128+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/cronskd"]
129+
end
100130
nfpms:
101131
- id: cronplan-nfpms
102132
ids: [cronplan]

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [2.0.2] - 2025-08-28
4+
5+
### Fixed
6+
7+
* Fix .goreleaser.yml for notarizing. [pull#111](https://github.com/winebarrel/cronplan/pull/111)
8+
39
## [2.0.1] - 2025-08-27
410

511
### Fixed

0 commit comments

Comments
 (0)