Skip to content

Commit

Permalink
NOJ - Debian package release hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
gr211 committed Jun 20, 2024
1 parent e1e1b9d commit 6458a4d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,18 @@ jobs:
asset_name: gohip-linux-amd64
asset_path: ./gohip-linux-amd64
asset_content_type: application/octet-stream

- name: Create Debian package
env:
DESTDIR: '/tmp/gohip-deb' # keep path absolute - meson has issues with relative paths on CI
run: |
mkdir -p $DESTDIR
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} RELEASE_VERSION=1.0.0 DESTDIR=$DESTDIR make debian-pkg
- name: Upload Debian release
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
${{ env.DEB_PKG_NAME }}
${{ env.DEB_PKG_NAME }}.md5sum

0 comments on commit 6458a4d

Please sign in to comment.