[PATCH] ci: add workflow to mark tags as GitHub releases

Kamran Alam kamranalam4555 at gmail.com
Sat Mar 21 00:05:11 AEDT 2026


From: Kamran Alam <kamrankhan0368 at gmail.com>

This patch adds a GitHub Actions workflow that automatically creates
a GitHub Release whenever a new tag is pushed to the repository.

This addresses issue #22 - currently tags exist but are not marked
as GitHub Releases, making it harder for users to find and download
specific versions.

Signed-off-by: Kamran Alam <kamrankhan0368 at gmail.com>
---
 .github/workflows/release.yml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..release
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,20 @@
+name: Create GitHub Release on Tag
+
+on:
+  push:
+    tags:
+      - 'v*'
+
+jobs:
+  release:
+    runs-on: ubuntu-latest
+    permissions:
+      contents: write
+    steps:
+      - name: Checkout code
+        uses: actions/checkout at v4
+
+      - name: Create GitHub Release
+        uses: softprops/action-gh-release at v2
+        with:
+          generate_release_notes: true
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20260320/d4ba36a4/attachment.htm>


More information about the Linux-erofs mailing list