Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit e80f8e9

Browse files
zircoteclaude
andcommitted
fix: add GitHub release creation to release workflow
Release targets now automatically create GitHub releases using `gh release create` with auto-generated release notes. This prevents the issue where tags exist but no GitHub Releases are visible on the project's releases page. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 44c6e37 commit e80f8e9

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

Makefile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ bump-dry: ## Show what would be bumped (dry run)
133133

134134
release: release-patch ## Release (alias for release-patch)
135135

136-
release-patch: ## Release patch version (quality → bump → push → build)
136+
release-patch: ## Release patch version (quality → bump → push → gh-release → build)
137137
@echo "Starting patch release..."
138138
@echo ""
139139
@$(MAKE) quality
@@ -144,12 +144,16 @@ release-patch: ## Release patch version (quality → bump → push → build)
144144
@echo "Pushing to remote..."
145145
git push && git push --tags
146146
@echo ""
147+
@echo "Creating GitHub release..."
148+
@NEW_VERSION=$$(uv run bump-my-version show current_version) && \
149+
gh release create "v$$NEW_VERSION" --title "v$$NEW_VERSION" --generate-notes
150+
@echo ""
147151
@echo "Building package..."
148152
@$(MAKE) build
149153
@echo ""
150154
@echo "✓ Release complete! Version: $$(uv run bump-my-version show current_version)"
151155

152-
release-minor: ## Release minor version (quality → bump → push → build)
156+
release-minor: ## Release minor version (quality → bump → push → gh-release → build)
153157
@echo "Starting minor release..."
154158
@echo ""
155159
@$(MAKE) quality
@@ -160,12 +164,16 @@ release-minor: ## Release minor version (quality → bump → push → build)
160164
@echo "Pushing to remote..."
161165
git push && git push --tags
162166
@echo ""
167+
@echo "Creating GitHub release..."
168+
@NEW_VERSION=$$(uv run bump-my-version show current_version) && \
169+
gh release create "v$$NEW_VERSION" --title "v$$NEW_VERSION" --generate-notes
170+
@echo ""
163171
@echo "Building package..."
164172
@$(MAKE) build
165173
@echo ""
166174
@echo "✓ Release complete! Version: $$(uv run bump-my-version show current_version)"
167175

168-
release-major: ## Release major version (quality → bump → push → build)
176+
release-major: ## Release major version (quality → bump → push → gh-release → build)
169177
@echo "Starting major release..."
170178
@echo ""
171179
@$(MAKE) quality
@@ -176,6 +184,10 @@ release-major: ## Release major version (quality → bump → push → build)
176184
@echo "Pushing to remote..."
177185
git push && git push --tags
178186
@echo ""
187+
@echo "Creating GitHub release..."
188+
@NEW_VERSION=$$(uv run bump-my-version show current_version) && \
189+
gh release create "v$$NEW_VERSION" --title "v$$NEW_VERSION" --generate-notes
190+
@echo ""
179191
@echo "Building package..."
180192
@$(MAKE) build
181193
@echo ""

0 commit comments

Comments
 (0)