Skip to content

Commit 509a89e

Browse files
committed
fix: switch to homebrew_casks, fix npm version placeholder
1 parent 9409424 commit 509a89e

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.goreleaser.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,20 @@ changelog:
5050
- "^docs:"
5151
- "^test:"
5252

53-
brews:
54-
- repository:
53+
homebrew_casks:
54+
- name: xurl
55+
repository:
5556
owner: xdevplatform
5657
name: homebrew-tap
5758
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
58-
directory: Formula
5959
homepage: "https://github.com/xdevplatform/xurl"
6060
description: "Auth-enabled curl-like CLI for the X API"
61-
license: "MIT"
62-
install: |
63-
bin.install "xurl"
64-
test: |
65-
system "#{bin}/xurl", "version"
61+
hooks:
62+
post:
63+
install: |
64+
if OS.mac?
65+
system_command "/usr/bin/xattr", args: ["-dr", "com.apple.quarantine", "#{staged_path}/xurl"]
66+
end
6667
6768
release:
6869
footer: >-

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@xdevplatform/xurl",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"description": "Auth-enabled curl-like CLI for the X API",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)