From 3501a50ffb93756e145295021ff9313ac77f1ba9 Mon Sep 17 00:00:00 2001 From: Ava Hahn Date: Wed, 15 May 2024 10:14:08 -0700 Subject: ci: tweak unitctl github release * add body and text to github release for unitctl Signed-off-by: Ava Hahn --- .github/workflows/unitctl.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/unitctl.yml b/.github/workflows/unitctl.yml index be4ccfb2..e1023e21 100644 --- a/.github/workflows/unitctl.yml +++ b/.github/workflows/unitctl.yml @@ -185,5 +185,22 @@ jobs: uses: ncipollo/release-action@v1 with: artifacts: "unitctl-*" - tag: ${{github.event_name == 'workflow_dispatch' && inputs.version}} + # false if triggered by a tag + prerelease: ${{github.event_name == 'workflow_dispatch' && true}} + tag: ${{(github.event_name == 'workflow_dispatch' && inputs.version) || github.ref_name}} + name: unitctl/${{(github.event_name=='workflow_dispatch' && inputs.version) || github.ref_name}} + body: > + ## Unitctl + + This is a released binary of unitctl. + + Unitctl is an official command line tool for managing Unit installations. + + + ## Unit + + For the current release of the NGINX Unit application server check the + [Unit Installation Guide](https://unit.nginx.org/installation/) and the + [Unit Quickstart Guide](https://github.com/nginx/unit/). + allowUpdates: true -- cgit