1
0
mirror of https://github.com/pcvolkmer/cert-tools.git synced 2025-07-01 14:02:54 +00:00

build: add Makefile and workflow to build releases

This commit is contained in:
2025-01-07 14:14:08 +01:00
parent f25b81c141
commit 31f7c2fd4a
2 changed files with 83 additions and 0 deletions

25
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Create release and upload assets
on:
push:
tags:
- 'v*'
jobs:
linuxbuild:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- run: make linux-package
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: 'true'
make_latest: 'true'
generate_release_notes: 'true'
files: |
target/*linux.tar.gz