Skip to content

Commit

Permalink
ghactions: Automatically create gh releases
Browse files Browse the repository at this point in the history
This commit uses the 'gh' command line tool to create a new draft github
release and upload the gvproxy* binaries to it.
It's triggered on v* tag pushes.

Signed-off-by: Christophe Fergeau <[email protected]>
  • Loading branch information
cfergeau committed Jul 24, 2024
1 parent 2b36bdd commit 8fcf398
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@ jobs:
with:
name: gvisor-tap-vsock-binaries
path: bin/*

- name: Create release on github
id: upload
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create --draft --generate-notes --verify-tag ${{github.ref_name}}
cd bin
sha256sum * >> sha256sums
gh release upload ${{github.ref_name}} *

0 comments on commit 8fcf398

Please sign in to comment.