aboutsummaryrefslogtreecommitdiff
path: root/.goreleaser.yml
diff options
context:
space:
mode:
authorTong Sun <[email protected]>2021-07-05 19:12:50 -0400
committerTong Sun <[email protected]>2021-07-05 19:12:50 -0400
commitaccdeb88fe26c676c22d278b637c3b4d2bbdd9bb (patch)
treed7c6ed9a905e255bf1e068e32788cdc30357af9d /.goreleaser.yml
parent- [+] add TableCompat plugin; enable Table (diff)
downloadhtml2md-0.2.1.tar.xz
html2md-0.2.1.zip
- [+] use GH actions for CD insteadv0.2.1
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