Skip to content

Commit 1f1b9b1

Browse files
committed
fix: disable GitHub releases - we only release to PyPI
- Set upload_to_release = false in semantic-release config - Add --no-vcs-release flag to semantic-release command - Remove unnecessary GH_TOKEN since we don't create GitHub releases - PyPI publishing is handled separately in the workflow
1 parent d5ae910 commit 1f1b9b1

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,11 @@ jobs:
8484
git config --global user.name "github-actions[bot]"
8585
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
8686
87-
- name: Bump version and create release
87+
- name: Bump version
8888
if: steps.release-check.outputs.should_release == 'true'
89-
env:
90-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9189
run: |
92-
echo "Creating release for version: ${{ steps.release-check.outputs.new_version }}"
93-
semantic-release version
90+
echo "Bumping version to: ${{ steps.release-check.outputs.new_version }}"
91+
semantic-release version --no-vcs-release
9492
9593
- name: Build package
9694
if: steps.release-check.outputs.should_release == 'true'

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ version_pattern = [
127127
# Project settings
128128
major_on_zero = false
129129
branch = "main"
130-
upload_to_pypi = false # Handled by GitHub Actions
131-
upload_to_release = true
130+
upload_to_pypi = false # Handled by GitHub Actions separately
131+
upload_to_release = false # Don't create GitHub releases
132132
hvcs = "github"
133133

134134
# PATCH-ONLY MODE: All commits increment patch version only

0 commit comments

Comments
 (0)