Skip to content

fix: remove push=false blocking VCS releases#27

Merged
doughayden merged 1 commit intomainfrom
fix/semantic-release-vcs-creation
Jun 28, 2025
Merged

fix: remove push=false blocking VCS releases#27
doughayden merged 1 commit intomainfrom
fix/semantic-release-vcs-creation

Conversation

@doughayden
Copy link
Copy Markdown
Owner

Summary

Fixes semantic-release not creating tags/releases by removing the push = false configuration that was blocking VCS operations.

Problem

Workflow logs showed:

INFO [version.version] No vcs release will be created because pushing changes is disabled

The push = false setting was preventing all VCS operations, including tag and release creation, not just commit pushes.

Solution

Configuration changes:

  1. Remove push = false from pyproject.toml
  2. Remove push: "false" from workflow parameters
  3. Keep commit = false to prevent version bump commits

Expected behavior:

  • Tags created - Semantic version tags will be pushed to GitHub
  • Releases created - GitHub releases with auto-generated notes
  • No commits - commit = false prevents version bump commits to main
  • No branch pushes - Protected branch rules still enforced

Key Insight

Semantic-release interprets push = false as "disable all remote operations" rather than "don't push commits". Since we have commit = false, there are no commits to push anyway - removing push = false only enables tag/release creation.

Testing Plan

  • Merge PR to main
  • Verify workflow creates actual tags: git tag --list
  • Verify GitHub releases created: gh release list
  • Confirm no commits pushed to main branch
  • Validate release contains distribution artifacts

Resolves

🤖 Generated with Claude Code

- Remove push=false from pyproject.toml config
- Remove push=false from workflow parameters
- Keep commit=false to prevent version bump commits
- Allow semantic-release to create tags and GitHub releases

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@doughayden doughayden merged commit fe22d46 into main Jun 28, 2025
2 checks passed
@doughayden doughayden deleted the fix/semantic-release-vcs-creation branch June 28, 2025 18:09
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.

fix: semantic-release not creating tags/releases despite success

1 participant