diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 092f09c663d..cab064b49e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -230,7 +230,7 @@ jobs: run: | RELEASE_TAG=${GITHUB_REF/refs\/tags\//} echo "RELEASE_TAG=${RELEASE_TAG}" >> $GITHUB_ENV - tagNameWithoutPrefix="${RELEASE_TAG:1}" + tagNameWithoutPrefix="${RELEASE_TAG:8}" echo "RELEASE_TAG_WITHOUT_PREFIX=${tagNameWithoutPrefix}" >> $GITHUB_ENV # TODO: generate release notes @@ -257,9 +257,10 @@ jobs: name: GitHub Desktop for Linux ${{ env.RELEASE_TAG_WITHOUT_PREFIX }} body_path: script/release_notes.txt files: | - artifacts/*.AppImage - artifacts/*.deb - artifacts/*.rpm + artifacts/**/*.AppImage + artifacts/**/*.deb + artifacts/**/*.rpm draft: true + fail_on_unmatched_files: true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}