add git tag to nightly release

Signed-off-by: jason yang <jasonyangshadow@gmail.com>
This commit is contained in:
jason yang
2023-12-07 11:53:24 +00:00
parent 8ecaf9ed95
commit 163b0aa4f4
3 changed files with 5 additions and 27 deletions

View File

@@ -106,8 +106,10 @@ runs:
This release contains latest commits, which is a feature unstable version
Reflog:
${{ steps.commits.outputs.raw }}
Commits:
${{ steps.commits.outputs.commits }}
EOF
shell: bash
@@ -119,12 +121,12 @@ runs:
GITHUB_TOKEN: ${{ inputs.token }}
with:
release_id: ${{ inputs.event-id }}
delete_file: "warewulf-*.tar.gz;warewulf-*.rpm"
file: ${{ env.DIST }}
tag_name: "nightly"
prerelease: true
draft: false
default_release_name: "warewulf nightly release"
overwrite: true
- name: Update nightly release content
if: inputs.nightly == 'true' && steps.should-continue.outputs.continue == 'true'