Skip to content

Commit

Permalink
python was caching the version.
Browse files Browse the repository at this point in the history
  • Loading branch information
flowstate committed Dec 10, 2024
1 parent 2604ab2 commit 0f7a198
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ jobs:
# Get version from main branch
git checkout origin/main
MAIN_VERSION=$(python -c "from socketsync import __version__; print(__version__)")
MAIN_VERSION=$(python -c "
import importlib
import socketsync
importlib.reload(socketsync)
print(socketsync.__version__)
")
echo "Debug main version: $MAIN_VERSION"
echo "MAIN_VERSION=${MAIN_VERSION}" >> $GITHUB_ENV
Expand Down

0 comments on commit 0f7a198

Please sign in to comment.