File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 - uses : actions/upload-artifact@v7
4747 with :
4848 name : wheels
49- path : dist/*.whl
49+ path : |
50+ dist/core/*.whl
51+ dist/bundle/*.whl
5052
5153 github-release :
5254 needs : build
6365 - uses : softprops/action-gh-release@v2.5.0
6466 with :
6567 tag_name : ${{ github.event.inputs.tag || github.ref_name }}
66- files : dist/*.whl
68+ files : dist/**/* .whl
6769 generate_release_notes : true
6870
Original file line number Diff line number Diff line change @@ -15,20 +15,23 @@ build-bundle: build-ui
1515 uv build
1616 rm -rf src/agentevals/_static
1717
18+ CORE_WHEEL_NAME := agentevals-$(VERSION ) -core-py3-none-any.whl
19+ BUNDLE_WHEEL_NAME := agentevals-$(VERSION ) -bundle-py3-none-any.whl
20+
1821release : clean build-ui
1922 mkdir -p dist/core dist/bundle
2023 uv build
21- mv $(WHEEL ) dist/core/
24+ mv $(WHEEL ) dist/core/$( CORE_WHEEL_NAME )
2225 mv dist/* .tar.gz dist/core/
2326 rm -rf src/agentevals/_static
2427 cp -r ui/dist src/agentevals/_static
2528 uv build
26- mv $(WHEEL ) dist/bundle/
29+ mv $(WHEEL ) dist/bundle/$( BUNDLE_WHEEL_NAME )
2730 mv dist/* .tar.gz dist/bundle/
2831 rm -rf src/agentevals/_static
2932 @echo " Built:"
30- @echo " core: dist/core/$( notdir $( WHEEL ) ) "
31- @echo " bundle: dist/bundle/$( notdir $( WHEEL ) ) "
33+ @echo " core: dist/core/$( CORE_WHEEL_NAME ) "
34+ @echo " bundle: dist/bundle/$( BUNDLE_WHEEL_NAME ) "
3235
3336dev-backend :
3437 uv run agentevals serve --dev
You can’t perform that action at this time.
0 commit comments