Skip to content

Commit

Permalink
Added DEB building & publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
rykov committed Dec 20, 2021
1 parent 01c74ea commit aaecb2b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ jobs:
args: release --rm-dist
env:
BREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
FURY_PUSH_TOKEN: ${{ secrets.FURY_PUSH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@ changelog:
release:
draft: true

nfpms:
- id: nfpm-default
package_name: fury-cli

vendor: Gemfury.com
homepage: https://fury.co
maintainer: Gemfury Team <team@gemfury.com>
description: Gemfury CLI
license: Proprietary

formats:
- deb

bindir: /usr/bin

publishers:
- name: gemfury-repo
dir: "{{ dir .ArtifactPath }}"
cmd: curl -s -F p1=@{{ .ArtifactName }} https://{{ .Env.FURY_PUSH_TOKEN }}@push.fury.io/cli/
ids:
- nfpm-default

brews:
-
# Name template of the recipe
Expand Down

0 comments on commit aaecb2b

Please sign in to comment.