We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2f96e commit d1b2ac8Copy full SHA for d1b2ac8
1 file changed
.github/workflows/release.yml
@@ -101,7 +101,7 @@ jobs:
101
uses: actions/download-artifact@v4
102
with:
103
path: artifacts
104
-
+
105
- name: Create release
106
env:
107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -111,10 +111,9 @@ jobs:
111
echo "Release v$VERSION already exists — skipping"
112
exit 0
113
fi
114
+ gh release create "v$VERSION" --title "v$VERSION" --generate-notes
115
shopt -s nullglob
- ASSETS=(artifacts/*/*)
116
- if [ ${#ASSETS[@]} -eq 0 ]; then
117
- gh release create "v$VERSION" --title "v$VERSION" --generate-notes
118
- else
119
- gh release create "v$VERSION" --title "v$VERSION" --generate-notes "${ASSETS[@]}"
120
- fi
+ for f in artifacts/*/*; do
+ echo "Uploading $f"
+ gh release upload "v$VERSION" "$f" --clobber
+ done
0 commit comments