Skip to content

Commit

Permalink
feat: use nfpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Strobotti committed Feb 21, 2024
1 parent a9823dd commit 5859573
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y gcc libgl1-mesa-dev xorg-dev
- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Package
run: |
task package:debian-amd64
- uses: go-semantic-release/action@v1
with:
hooks: goreleaser
Expand Down
19 changes: 17 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
builds:
- targets:
- linux_amd64
- goos:
- linux
main: ./cmd/
flags:
- -trimpath
Expand All @@ -10,3 +10,18 @@ builds:
- -X main.version={{.Version}}
- -X main.commitSHA={{.FullCommit}}
- -X main.buildDate={{.Date}}

nfpms:
- package_name: linkquisition
homepage: https://www.strobotti.com
maintainer: Juha Jantunen <[email protected]>
description: |-
Linkquisition is a browser-picker tool for opening links in a specific browser.
formats:
- deb
- rpm
bindir: /usr/bin
priority: optional

sboms:
- artifacts: archive

0 comments on commit 5859573

Please sign in to comment.