Skip to content

Commit

Permalink
Local versions are not allowed in pypi as per PEP440
Browse files Browse the repository at this point in the history
  • Loading branch information
flowstate committed Nov 6, 2024
1 parent ac18fa2 commit 55e0b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
run: |
BASE_VERSION=$(grep -o "__version__.*" socketsecurity/__init__.py | awk '{print $3}' | tr -d "'")
SHORT_SHA=$(git rev-parse --short HEAD)
PREVIEW_VERSION="${BASE_VERSION}.dev${GITHUB_PR_NUMBER}+${SHORT_SHA}"
PREVIEW_VERSION="${BASE_VERSION}.dev${GITHUB_PR_NUMBER}.post${SHORT_SHA}"
echo "VERSION=${PREVIEW_VERSION}" >> $GITHUB_ENV
# Update version in __init__.py
Expand Down

0 comments on commit 55e0b41

Please sign in to comment.