From 8279dee9dfb5327db673851cb80e00db230013e6 Mon Sep 17 00:00:00 2001 From: Mathieu BARLEON Date: Wed, 8 Jul 2026 14:29:43 +0200 Subject: [PATCH] fix: dependabot crash and enforce release --- .github/README.md | 4 ++-- .github/workflows/release.yml | 4 ++++ pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/README.md b/.github/README.md index f418489..592a997 100644 --- a/.github/README.md +++ b/.github/README.md @@ -58,7 +58,7 @@ pipx install "$(ls dist/*.whl | head -n 1)" Install a published release artifact with `pipx`: ```bash -pipx install https://github.com//StyleCheck/releases/download/vX.Y.Z/splinter3d_style-X.Y.Z-py3-none-any.whl +pipx install https://github.com/Splinter3D/StyleCheck/releases/download/vX.Y.Z/splinter3d_style-X.Y.Z-py3-none-any.whl splinter3d_style ``` @@ -68,7 +68,7 @@ Add this repository and a release tag to your `.pre-commit-config.yaml`: ```yaml repos: - - repo: https://github.com//StyleCheck + - repo: https://github.com/Splinter3D/StyleCheck rev: vX.Y.Z hooks: - id: splinter3d-style diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 16f6be4..8d05b17 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,6 +51,8 @@ jobs: - name: Create GitHub prerelease uses: softprops/action-gh-release@v3 with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} files: dist/* generate_release_notes: true prerelease: true @@ -72,5 +74,7 @@ jobs: - name: Create GitHub release uses: softprops/action-gh-release@v3 with: + tag_name: ${{ github.ref_name }} + name: ${{ github.ref_name }} files: dist/* generate_release_notes: true diff --git a/pyproject.toml b/pyproject.toml index 733b350..d8e7940 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "splinter3d_style" version = "0.1.0" description = "A style checker for Splinter3D projects." readme = ".github/README.md" -requires-python = ">=3.10" +requires-python = ">=3.10,<4.0" [[project.authors]] name = "Mathieu BARLEON" email = "mathieu.barleon@splinter3d.com"