diff --git a/.github/workflows/check-same-version.yml b/.github/workflows/check-same-version.yml index 09016cd..9262003 100644 --- a/.github/workflows/check-same-version.yml +++ b/.github/workflows/check-same-version.yml @@ -26,7 +26,7 @@ jobs: cache: 'pip' # optional and only works for Python projects - name: Run same-version - uses: willynilly/same-version@v7.0.0 + uses: willynilly/same-version@v7.1.0 with: fail_for_missing_file: false check_github_event: true diff --git a/.github/workflows/review-cff-authors-pr.yml b/.github/workflows/review-cff-authors-pr.yml index e66e892..db550ce 100644 --- a/.github/workflows/review-cff-authors-pr.yml +++ b/.github/workflows/review-cff-authors-pr.yml @@ -24,7 +24,7 @@ jobs: - name: Install Python uses: actions/setup-python@v5 with: - python-version: ">=3.13.3" # required for cff-author-updater + python-version: ">=3.10" # required for cff-author-updater cache: 'pip' # optional for cff-author-updater - name: Run cff-author-updater diff --git a/CITATION.cff b/CITATION.cff index 6db32d6..e7daa47 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -34,7 +34,7 @@ keywords: - metadata - harmonization license: Apache-2.0 -version: "7.0.0" +version: "7.1.0" date-released: "2025-06-10" references: - title: Citation File Format diff --git a/README.md b/README.md index 2863342..7fc411c 100644 --- a/README.md +++ b/README.md @@ -259,7 +259,7 @@ jobs: python-version: ">=3.10" - name: Run same-version - uses: willynilly/same-version@v7.0.0 + uses: willynilly/same-version@v7.1.0 with: fail_for_missing_file: false check_github_event: true @@ -309,7 +309,7 @@ jobs: python-version: ">=3.10" - name: Run same-version - uses: willynilly/same-version@v7.0.0 + uses: willynilly/same-version@v7.1.0 with: fail_for_missing_file: false check_github_event: true @@ -347,7 +347,7 @@ Add to your `.pre-commit-config.yaml`: ```yaml repos: - repo: https://github.com/willynilly/same-version - rev: v7.0.0 # Use latest tag + rev: v7.1.0 # Use latest tag hooks: - id: same-version stages: [pre-commit, pre-push] diff --git a/example.pre-commit-config.yaml b/example.pre-commit-config.yaml index 9fca2ec..bdbd6f2 100644 --- a/example.pre-commit-config.yaml +++ b/example.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/willynilly/same-version - rev: v7.0.0 # Use latest tag + rev: v7.1.0 # Use latest tag hooks: - id: same-version stages: [pre-commit, pre-push] diff --git a/pyproject.toml b/pyproject.toml index 5ba04fd..f0869ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "same-version" -version = "7.0.0" +version = "7.1.0" description = "Automatically ensures your software version metadata is consistent across key project files." readme = "README.md" requires-python = ">=3.10" @@ -56,11 +56,10 @@ pythonpath = [ [tool.hatch.build] include = ["src/same_version/**", "CITATION.cff"] license-files = ["LICEN[CS]E*"] -sources = ["src"] [tool.hatch.build.targets.wheel] -packages = ["same_version"] -sources = ["src"] +packages = ["src/same_version"] + [project.scripts] same-version = "same_version.main:main"