Skip to content

Commit 1b38a2a

Browse files
committed
minor changes
1 parent f9a258e commit 1b38a2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
id: version_check
3131
run: |
3232
# Fetch the latest tags
33+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/kevinrawal/type-fastapi.git
3334
git fetch --tags
34-
PREV_VERSION=$(git describe --tags --abbrev=0 main || echo "0.0.0")
35+
PREV_VERSION=$(git describe --tags --abbrev=0 || echo "0.0.0")
3536
echo "Previous Version: $PREV_VERSION"
3637
3738
# Get the current version from pyproject.toml

0 commit comments

Comments
 (0)