We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bfa43e commit fb6c5b2Copy full SHA for fb6c5b2
1 file changed
.github/workflows/preview-release.yml
@@ -213,12 +213,16 @@ jobs:
213
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
214
run: |
215
set -euo pipefail
216
+ FILES=()
217
+ while IFS= read -r f; do
218
+ FILES+=("$f")
219
+ done < <(find artifacts -type f \( -name "*.dmg" -o -name "*.zip" -o -name "*.exe" \) | sort)
220
+ FILES+=("SHA256SUMS.txt")
221
+ printf 'Release assets:\n'
222
+ printf ' - %s\n' "${FILES[@]}"
223
gh release create "$GITHUB_REF_NAME" \
224
--title "CodePilot ${{ needs.verify-source.outputs.version }} internal preview" \
225
--notes-file release-notes.md \
226
--prerelease \
227
--latest=false \
- artifacts/CodePilot-*.dmg \
- artifacts/CodePilot-*-arm64*.zip \
- artifacts/CodePilot.Setup.*.exe \
- SHA256SUMS.txt
228
+ "${FILES[@]}"
0 commit comments