Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ jobs:
run: uv tool install hatch

- name: Build package with hatch
run: hatch build
run: |
# Tell git to ignore version file changes during build
git update-index --skip-worktree src/weather_mcp/_version.py || true
hatch build

- name: Check package
run: |
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ cython_debug/
# Ruff stuff:
.ruff_cache/

# hatch-vcs generated version file
src/weather_mcp/_version.py

# PyPI configuration file
.pypirc

Expand Down
21 changes: 0 additions & 21 deletions src/weather_mcp/_version.py

This file was deleted.