Skip to content

Commit d408341

Browse files
committed
🔨 Update Pypi releases script
1 parent 3e61664 commit d408341

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
if: github.event.pusher.name == 'awtkns'
2727
run: |
2828
curl -s https://pypi.org/pypi/fastapi-crudrouter/json | grep -Eo '"version":"[0-9].[0-9][0-9]?.[0-9][0-9]?"' | grep -Eo "[0-9].[0-9][0-9]?.[0-9][0-9]?" > old
29-
grep -Eo '__version__ = "[0-9].[0-9][0-9]?.[0-9][0-9]?"' ./fastapi_crudrouter/__init__.py | grep -Eo "[0-9].[0-9][0-9]?.[0-9][0-9]?" > new
29+
grep -Eo '__version__ = "[0-9].[0-9][0-9]?.[0-9][0-9]?"' ./fastapi_crudrouter/_version.py | grep -Eo "[0-9].[0-9][0-9]?.[0-9][0-9]?" > new
3030
3131
cat new
3232
cat old

0 commit comments

Comments
 (0)