Skip to content

Commit

Permalink
Try to create Linux Packages via fury.io
Browse files Browse the repository at this point in the history
  • Loading branch information
vHanda committed Jun 1, 2022
1 parent 277a029 commit 625c3da
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }}
FURY_TOKEN: ${{ secrets.FURY_PUSH_TOKEN }}
16 changes: 16 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,19 @@ snapcrafts:
git-auto-sync:
command: git-auto-sync
completer: completions/bash_autocomplete

nfpms:
- id: linux_packages
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
homepage: https://github.com/GitJournal/git-auto-sync
license: Apache-2.0
maintainer: Vishesh Handa <me@vhanda.in>
dependencies:
- git

publishers:
- name: fury.io
ids:
- linux_packages
dir: "{{ dir .ArtifactPath }}"
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/netdevops/

0 comments on commit 625c3da

Please sign in to comment.