mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-06-08 20:03:52 +02:00
feat: cli migrate to cobra with subcommands (#550)
* feat: migrate CLI to cobra with dump/list/version subcommands (#546) * fix: remove residual duckduckgo references and add README/LICENSE to release archives * fix: address PR review feedback from Copilot
This commit is contained in:
+9
-3
@@ -6,7 +6,7 @@ before:
|
||||
|
||||
builds:
|
||||
- id: "hack-browser-data"
|
||||
main: ./cmd/hack-browser-data/main.go
|
||||
main: ./cmd/hack-browser-data/
|
||||
binary: hack-browser-data
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
@@ -23,11 +23,17 @@ builds:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -s -w
|
||||
- -X main.version={{.Version}}
|
||||
- -X main.commit={{.ShortCommit}}
|
||||
- -X main.buildDate={{.Date}}
|
||||
|
||||
archives:
|
||||
- id: "archive"
|
||||
format: zip
|
||||
builds: ["hack-browser-data"]
|
||||
formats:
|
||||
- zip
|
||||
files:
|
||||
- README.md
|
||||
- LICENSE
|
||||
name_template: >-
|
||||
hack-browser-data-
|
||||
{{- if eq .Os "darwin" }}osx
|
||||
|
||||
Reference in New Issue
Block a user