From 717f13db801df344eb24bd06a37812b793ba6065 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 18 May 2024 23:29:52 -1000 Subject: [PATCH] ;workflows: release: cleanup --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fc13cb26..708a0c85c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,6 +119,7 @@ jobs: run: | cd artifacts mv */*.tar . + rmdir `find . -type d -depth 1` gzip *.tar - name: Inspect artifacts @@ -148,14 +149,12 @@ jobs: # append_body Boolean Append to existing body instead of overwriting it # make_latest String Specifies whether this release should be set as the latest release for the repository. Drafts and prereleases cannot be set as latest. Can be true, false, or legacy. Uses GitHub api defaults if not provided # - draft: true body_path: ${{ github.workspace }}/doc/relnotes.github.md - fail_on_unmatched_files: true files: | - artifacts/hledger-windows-x64.zip - artifacts/hledger-linux-x64.tar.gz - artifacts/hledger-mac-x64.tar.gz - artifacts/hledger-mac-arm64.tar.gz + artifacts/*.zip + artifacts/*.tar.gz + fail_on_unmatched_files: true + draft: true