Skip to content

Debug package publishing error#35

Closed
OPpuolitaival wants to merge 1 commit into
masterfrom
claude/fix-publish-error-011CUxudpmLnkUT9WLp8SaWp
Closed

Debug package publishing error#35
OPpuolitaival wants to merge 1 commit into
masterfrom
claude/fix-publish-error-011CUxudpmLnkUT9WLp8SaWp

Conversation

@OPpuolitaival
Copy link
Copy Markdown
Member

Fixes the PyPI publish error by automating version management:

  • Add scripts/bump_version.py: Bump patch/minor/major versions
  • Add scripts/publish.py: Automated publishing workflow
  • Add scripts/check_pypi.py: Check if version exists on PyPI
  • Add Makefile: Convenient commands for dev and publishing
  • Add PUBLISHING.md: Comprehensive publishing documentation
  • Update .github/workflows/python-publish.yml: Add version check
  • Update CLAUDE.md: Document new publishing commands

Now running 'make publish-patch' will:

  1. Check git status is clean
  2. Verify version doesn't exist on PyPI
  3. Bump version in pyproject.toml
  4. Commit and tag the change
  5. Push to GitHub
  6. Provide instructions for creating the release

This prevents the "File already exists" error by ensuring the version is always bumped before publishing.

Fixes the PyPI publish error by automating version management:

- Add scripts/bump_version.py: Bump patch/minor/major versions
- Add scripts/publish.py: Automated publishing workflow
- Add scripts/check_pypi.py: Check if version exists on PyPI
- Add Makefile: Convenient commands for dev and publishing
- Add PUBLISHING.md: Comprehensive publishing documentation
- Update .github/workflows/python-publish.yml: Add version check
- Update CLAUDE.md: Document new publishing commands

Now running 'make publish-patch' will:
1. Check git status is clean
2. Verify version doesn't exist on PyPI
3. Bump version in pyproject.toml
4. Commit and tag the change
5. Push to GitHub
6. Provide instructions for creating the release

This prevents the "File already exists" error by ensuring
the version is always bumped before publishing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants