diff options
author | Ava Hahn <a.hahn@f5.com> | 2024-05-15 10:14:08 -0700 |
---|---|---|
committer | Ava Hahn <110854134+avahahn@users.noreply.github.com> | 2024-06-18 13:33:15 -0700 |
commit | 3501a50ffb93756e145295021ff9313ac77f1ba9 (patch) | |
tree | e46049fe116f5c24373d5e738fe3a04fdd2be081 /.github | |
parent | 4f776da929af3d0c97dae2e439853cbbd0965c1b (diff) | |
download | unit-3501a50ffb93756e145295021ff9313ac77f1ba9.tar.gz unit-3501a50ffb93756e145295021ff9313ac77f1ba9.tar.bz2 |
ci: tweak unitctl github release
* add body and text to github release for unitctl
Signed-off-by: Ava Hahn <a.hahn@f5.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/unitctl.yml | 19 |
1 files changed, 18 insertions, 1 deletions
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 |