Skip to content

Commit 55e0b41

Browse files
committed
Local versions are not allowed in pypi as per PEP440
1 parent ac18fa2 commit 55e0b41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
run: |
1717
BASE_VERSION=$(grep -o "__version__.*" socketsecurity/__init__.py | awk '{print $3}' | tr -d "'")
1818
SHORT_SHA=$(git rev-parse --short HEAD)
19-
PREVIEW_VERSION="${BASE_VERSION}.dev${GITHUB_PR_NUMBER}+${SHORT_SHA}"
19+
PREVIEW_VERSION="${BASE_VERSION}.dev${GITHUB_PR_NUMBER}.post${SHORT_SHA}"
2020
echo "VERSION=${PREVIEW_VERSION}" >> $GITHUB_ENV
2121
2222
# Update version in __init__.py

0 commit comments

Comments
 (0)