From 0baf6be8b5025c667d5f9f87eaefdd2523b2344f Mon Sep 17 00:00:00 2001 From: Siyuan Miao Date: Thu, 25 Sep 2025 16:55:04 +0000 Subject: [PATCH] chore: generate release automatically --- .github/workflows/build.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ba5444a..2d33b4b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,4 +48,24 @@ jobs: name: jetkvm-app path: | bin/jetkvm_app - device-tests.tar.gz \ No newline at end of file + device-tests.tar.gz + release: + runs-on: ubuntu-latest + name: Release + needs: build + if: startsWith(github.ref, 'refs/tags/') + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Download artifacts + uses: actions/download-artifact@v4 + - name: Draft release + uses: softprops/action-gh-release@v2 + with: + # need review before making a real release + draft: true + files: bin/jetkvm_app + fail_on_unmatched_files: true + tag_name: ${{ github.ref }} + name: ${{ github.ref }} + generate_release_notes: true \ No newline at end of file