Skip to content

Commit

Permalink
Fix version of deb packages (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
invliD committed Feb 24, 2024
1 parent 45634b1 commit 7f016ef
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
os: darwin
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get version
id: version
run: echo "version=$(git describe)" >> "$GITHUB_OUTPUT"
- name: Set up Go
uses: actions/setup-go@v4
with:
Expand All @@ -29,7 +34,7 @@ jobs:
if: matrix.os == 'linux'
uses: bpicode/github-action-fpm@master
with:
fpm_opts: -s dir -t deb -n mdns2mqtt -a ${{ matrix.arch }} -v 0.0.0 mdns2mqtt=/usr/bin/mdns2mqtt
fpm_opts: -s dir -t deb -n mdns2mqtt -a ${{ matrix.arch }} -v ${{ steps.version.outputs.version }} mdns2mqtt=/usr/bin/mdns2mqtt
- name: Upload .deb package
uses: actions/upload-artifact@v4
if: matrix.os == 'linux'
Expand Down

0 comments on commit 7f016ef

Please sign in to comment.