Skip to content

Commit

Permalink
ci: removed local version from testpypi action
Browse files Browse the repository at this point in the history
  • Loading branch information
jyyyeung committed Feb 21, 2025
1 parent 306bdfd commit b27812d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
# Clean any existing builds
rm -rf dist/
# Get current git hash
HASH=$(git rev-parse --short HEAD)
# Get current timestamp
TIMESTAMP=$(date +%Y%m%d%H%M%S)
# Get current timestamp (using UTC)
TIMESTAMP=$(date -u +%Y%m%d%H%M%S)
# Update version with dev suffix (PEP 440 compliant)
poetry version $(poetry version --short).dev$TIMESTAMP+$HASH
# Format: 0.1.0.dev20240221120201
poetry version $(poetry version --short).dev$TIMESTAMP
echo "VERSION=$(poetry version --short)" >> $GITHUB_ENV
# Build with new version
Expand Down

0 comments on commit b27812d

Please # to comment.