Skip to content

fix: ensure semantic-release creates v1.0.0 with wheel uploads#96

Merged
fgogolli merged 1 commit into
mainfrom
fix/semantic-release-v1-release
Jan 5, 2026
Merged

fix: ensure semantic-release creates v1.0.0 with wheel uploads#96
fgogolli merged 1 commit into
mainfrom
fix/semantic-release-v1-release

Conversation

@fgogolli

@fgogolli fgogolli commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes semantic-release to properly create v1.0.0 release with wheel attachments by ensuring the workflow runs on the exact commit SHA and specifying correct build artifact patterns.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code cleanup or refactor
  • Dependencies update
  • CI/CD or build process changes

Related Issues

Fixes semantic-release 401 errors and missing wheel attachments in GitHub releases

How Has This Been Tested?

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed

Previous semantic-release runs failed due to commit alignment issues and missing build artifacts.

Test Configuration

  • Python version: 3.11
  • OS: GitHub Actions Ubuntu
  • AWS region: N/A
  • Dependencies changed: None

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published
  • I have updated the CHANGELOG.md file
  • I have updated the version number (if applicable)

Additional Notes

This combines the essential fixes:

  1. Git reset to ensure workflow runs on exact commit SHA
  2. Specific dist_glob_patterns for wheel and source distribution uploads

Performance Impact

  • No significant performance impact
  • Performance improved
  • Performance degraded (explain why it's necessary)

Security Considerations

  • No security implications
  • Security improved
  • Potential security concerns (explain and justify)

Dependencies

No dependency changes

Deployment Notes

After merge, semantic-release should successfully create v1.0.0 release with wheel and source distribution files attached.

@fgogolli
fgogolli force-pushed the fix/semantic-release-v1-release branch 7 times, most recently from f89d61f to 4f672ff Compare January 5, 2026 22:23
- Add git reset to ensure workflow runs on exact commit SHA
- Add ref checkout and Force branch to workflow SHA step
- Add missing permissions (actions: read, issues: read)
- Make dist_glob_patterns specific for .whl and .tar.gz files
- Disable PyPI publishing (dist = false) until OIDC is configured
- Add version_toml configuration for semantic-release to handle pyproject.toml
- Update generate_pyproject.py to not overwrite semantic-release version updates
- Simplify build target to let semantic-release handle versioning
- Add custom release notes template with proper section ordering
- Delete stray :wq! file
- This ensures semantic-release works correctly and attaches build artifacts
@fgogolli
fgogolli force-pushed the fix/semantic-release-v1-release branch from 4f672ff to ed43917 Compare January 5, 2026 22:23
@fgogolli
fgogolli merged commit 18f0b58 into main Jan 5, 2026
49 checks passed
@fgogolli
fgogolli deleted the fix/semantic-release-v1-release branch January 5, 2026 22:32
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.

1 participant