[PATCH] ci: add workflow to mark tags as GitHub releases
Gao Xiang
hsiangkao at linux.alibaba.com
Sat Mar 21 15:20:29 AEDT 2026
On 2026/3/20 21:05, Kamran Alam wrote:
> 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>
The subject of all erofs-utils patches should be started
with "erofs-utils:"
> ---
> .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
That is too simple, first it needs to extract the changelog
from "Changelog" and only contain the necessary content.
And it needs to generate static Linux binaries if possible.
Thanks,
Gao Xiang
> + with:
> + generate_release_notes: true
>
More information about the Linux-erofs
mailing list