Skip to content

Commit 4cb09b8

Browse files
authored
fix(gha): use underscores in Python package name (#71)
Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
1 parent 0b0a3b4 commit 4cb09b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
SEMANTIC_RELEASE_PACKAGE: ${{ github.repository }}
1414
PYTHON_RUNTIME_VERSION: "3.11"
1515
APP_NAME: diode-sdk-python
16-
PYTHON_PACKAGE_NAME: netboxlabs-diode-sdk
16+
PYTHON_PACKAGE_NAME: netboxlabs_diode_sdk
1717

1818
permissions:
1919
id-token: write
@@ -157,10 +157,6 @@ jobs:
157157
cat pyproject.toml | grep version
158158
python3 -m pip install --upgrade build
159159
python3 -m build --sdist --outdir dist/
160-
- name: Replace underscores with hyphens in build filename
161-
run: |
162-
BUILD_FILENAME=$(ls dist/ | grep tar.gz)
163-
mv dist/$BUILD_FILENAME dist/${{ env.OUTPUT_FILENAME }}
164160
- name: Upload artifact
165161
uses: actions/upload-artifact@v4
166162
with:

0 commit comments

Comments
 (0)