Skip to content

Commit efe0534

Browse files
maxprilutskiyclaude
andcommitted
fix: update semantic-release configuration for v10.2.0 compatibility
- Updated semantic-release configuration to use new format for v10.2.0 - Fixed changelog configuration by moving changelog_file to default_templates - Updated release workflow to use --no-push flag and proper command sequence - Resolved configuration warnings and deprecation notices 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ffb1543 commit efe0534

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
env:
8282
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8383
run: |
84-
semantic-release version
84+
semantic-release version --no-push
8585
8686
- name: Build package
8787
run: |
@@ -96,4 +96,4 @@ jobs:
9696
env:
9797
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9898
run: |
99-
semantic-release publish --skip-pypi
99+
semantic-release publish

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,8 @@ version_variables = [
111111
"src/lingodotdev/__init__.py:__version__",
112112
]
113113
build_command = "python -m build"
114-
dist_path = "dist/"
115-
upload_to_pypi = false # We'll use trusted publishing instead
116-
upload_to_release = true
114+
dist_glob_patterns = ["dist/*"]
115+
upload_to_vcs_release = true
117116
remove_dist = false
118117

119118
[tool.semantic_release.commit_parser_options]
@@ -123,9 +122,11 @@ patch_tags = ["fix", "perf"]
123122

124123
[tool.semantic_release.changelog]
125124
template_dir = "templates"
126-
changelog_file = "CHANGELOG.md"
127125
exclude_commit_patterns = []
128126

127+
[tool.semantic_release.changelog.default_templates]
128+
changelog_file = "CHANGELOG.md"
129+
129130
[tool.semantic_release.branches.main]
130131
match = "main"
131132
prerelease = false

0 commit comments

Comments
 (0)