aboutsummaryrefslogtreecommitdiff
path: root/.goreleaser.yml
diff options
context:
space:
mode:
Diffstat (limited to '.goreleaser.yml')
-rw-r--r--.goreleaser.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.goreleaser.yml b/.goreleaser.yml
new file mode 100644
index 0000000..f2221ed
--- /dev/null
+++ b/.goreleaser.yml
@@ -0,0 +1,31 @@
+project_name: html2md
+
+archives:
+ - format: tar.gz
+ wrap_in_directory: true
+ format_overrides:
+ - goos: windows
+ format: zip
+ # remove README and LICENSE
+ files:
+ - none*
+
+builds:
+ - env: [CGO_ENABLED=0]
+ goos:
+ - linux
+ - windows
+ - darwin
+ goarch:
+ - amd64
+ - arm64
+
+nfpms:
+- maintainer: Tong Sun <[email protected]>
+ description: HTML to Markdown converter
+ homepage: https://github.com/suntong/html2md
+ license: MIT
+ formats:
+ - deb
+ - rpm
+ - apk