File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 fetch-depth : 0
2525
26+ # Cloudsmith CLI tooling for pushing releases
27+ # See https://help.cloudsmith.io/docs/cli
28+ - name : Install Cloudsmith CLI
29+ run : pip install --upgrade cloudsmith-cli
30+
31+
2632 - name : Run GoReleaser
2733 uses : goreleaser/goreleaser-action@v6
2834 with :
3238 env :
3339 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3440 TAP_GITHUB_TOKEN : ${{ secrets.TAP_GITHUB_TOKEN }}
41+
42+
43+ # Publish to the "stable" repo on Cloudsmith
44+ # See https://cloudsmith.io/~html-to-markdown/repos/stable/
45+ - name : Publish .deb to Cloudsmith
46+ env :
47+ CLOUDSMITH_API_KEY : ${{ secrets.CLOUDSMITH_API_KEY }}
48+ run : |
49+ for filename in dist/*.deb; do
50+ # armv6 and armv7 are both "armhf" so we can skip the duplicate
51+ if [[ "$filename" == *"armv6"* ]]; then
52+ echo "Skipping $filename"
53+ continue
54+ fi
55+
56+ echo "Pushing $filename to 'stable'"
57+ cloudsmith push deb html-to-markdown/stable/any-distro/any-version $filename
58+ done
Original file line number Diff line number Diff line change @@ -45,6 +45,20 @@ brews:
4545 name : homebrew-tap
4646 token : " {{ .Env.TAP_GITHUB_TOKEN }}"
4747
48+ nfpms :
49+ - id : default
50+ package_name : html2markdown
51+
52+ vendor : JohannesKaufmann
53+ homepage : https://github.com/JohannesKaufmann/html-to-markdown
54+ maintainer : Johannes Kaufmann <johannes@joina.de>
55+ description : |
56+ Convert HTML to Markdown. Even works with entire websites.
57+ license : MIT
58+
59+ formats :
60+ - deb
61+
4862changelog :
4963 sort : asc
5064 filters :
You can’t perform that action at this time.
0 commit comments