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 Jul 1, 2024
1 parent 50afd82 commit a0012e1
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 @@ -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
Expand All @@ -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 }}

0 comments on commit a0012e1

Please sign in to comment.