File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,8 +114,15 @@ jobs:
114114 pattern : wheel-*
115115 merge-multiple : true
116116
117- - name : Create GitHub Release
117+ - name : Upsert GitHub Release
118118 env :
119119 GH_TOKEN : ${{ github.token }}
120120 TAG_NAME : ${{ github.ref_name }}
121- run : gh release create "$TAG_NAME" --generate-notes dist_fixed/*.whl
121+ run : |
122+ if gh release view "$TAG_NAME" >/dev/null 2>&1; then
123+ echo "Release $TAG_NAME already exists, uploading artifacts with --clobber"
124+ gh release upload "$TAG_NAME" dist_fixed/*.whl --clobber
125+ else
126+ echo "Creating release $TAG_NAME"
127+ gh release create "$TAG_NAME" --generate-notes dist_fixed/*.whl
128+ fi
Original file line number Diff line number Diff line change @@ -31,3 +31,6 @@ dmPython_trace.log
3131
3232# Testing
3333.pytest_cache /
34+
35+ # Local technical notes
36+ TECHNICAL_REPORT.md
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments