Skip to content

Commit

Permalink
backport some release fixes after initial testing (#905)
Browse files Browse the repository at this point in the history
* adjust release flow to skip the release- prefix

* aupdate glob to look recursively for artifacts

* fail when the files cannot be found
  • Loading branch information
shiftkey committed Sep 2, 2023
1 parent db74f29 commit 8282322
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,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
Expand All @@ -261,9 +261,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 }}

0 comments on commit 8282322

Please sign in to comment.