File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ unzip -l projects/agent/dist/netdriver_agent-*.whl
198198### Release Process
199199
2002001 . Develop features on branches
201- 2 . Test locally: ` poetry build -P projects/agent `
201+ 2 . Test locally: ` poetry build-project -C projects/agent `
2022023 . Create PR and verify build test passes
2032034 . Merge to master
2042045 . Test on TestPyPI
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ jobs:
250250 steps :
251251 - uses : actions/checkout@v4
252252 # Poetry and plugins are already installed!
253- - run : poetry build -P projects/agent
253+ - run : poetry build-project -C projects/agent
254254` ` `
255255
256256**Benefits of using Docker image**:
Original file line number Diff line number Diff line change 7676 needs : test
7777 runs-on : ubuntu-latest
7878 container :
79- image : ghcr.io/opensecflow/netdriver/python-poetry:3.12
79+ image : ghcr.io/opensecflow/netdriver/python-poetry
8080 permissions :
8181 contents : read
8282 packages : read
9999 - name : Build ${{ matrix.project }}
100100 run : |
101101 echo "Building netdriver-${{ matrix.project }}..."
102- poetry build -P projects/${{ matrix.project }} --format wheel --clean
102+ poetry build-project -P projects/${{ matrix.project }} --format wheel --clean
103103
104104 - name : Check package metadata
105105 run : |
Original file line number Diff line number Diff line change 7373 echo "Building $project..."
7474
7575 # Clean and build
76- poetry build -P "projects/$project" --format wheel --clean
76+ poetry build-project -C "projects/$project" --format wheel --clean
7777
7878 # Publish
7979 if [ "$TARGET" = "testpypi" ]; then
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ jobs:
118118 - name : Build ${{ matrix.project }}
119119 run : |
120120 echo "Building netdriver-${{ matrix.project }}..."
121- poetry build -P projects/${{ matrix.project }} --format wheel --clean
121+ poetry build-project -C projects/${{ matrix.project }} --format wheel --clean
122122
123123 - name : Check package metadata
124124 run : |
You can’t perform that action at this time.
0 commit comments