Skip to content

Commit 1fd1a98

Browse files
committed
🐛 Fix release workflow issues
Improve CI/CD workflow and simplify release process - Remove reminder to manually create GitHub release in release.py - Fix PyPI publishing step in CI/CD workflow
1 parent 44227dc commit 1fd1a98

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,14 @@ jobs:
147147
uses: actions/setup-python@v5
148148
with:
149149
python-version: "3.13"
150-
# cache-dependency-path will still cache dependencies installed by uv
151150

152151
- name: ⚡ Install uv Build System
153152
uses: astral-sh/setup-uv@v6
154153

155154
- name: 🛠️ Build Python Package
156155
run: |
157-
uv pip install build
158-
uv run python -m build
156+
uv pip install --system build
157+
python -m build
159158
160159
- name: 🚀 Publish to PyPI via Trusted Publisher
161160
uses: pypa/gh-action-pypi-publish@release/v1

scripts/release.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,6 @@ def main() -> None:
356356
commit_and_push(new_version)
357357

358358
print_success(f"\n🎉✨ {PROJECT_NAME} v{new_version} has been successfully released! ✨🎉")
359-
print_colored(f"Don't forget to create a release on GitHub: {PROJECT_LINK}/releases/new", COLOR_STEP)
360359

361360

362361
if __name__ == "__main__":

0 commit comments

Comments
 (0)