Skip to content

Commit

Permalink
ci: tweak unitctl github release
Browse files Browse the repository at this point in the history
* add body and text to github release for unitctl

Signed-off-by: Ava Hahn <[email protected]>
  • Loading branch information
avahahn committed May 15, 2024
1 parent 30b39bd commit dd93edc
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/unitctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dd93edc

Please sign in to comment.