From 1a3b76808f7bbb5bcf5a0a9b947c21015fdc78cf Mon Sep 17 00:00:00 2001 From: Will Riley Date: Sun, 15 Jun 2025 01:40:15 +0200 Subject: [PATCH] Fixed build config. --- .github/workflows/check-same-version.yml | 2 +- CITATION.cff | 2 +- README.md | 6 +++--- example.pre-commit-config.yaml | 2 +- pyproject.toml | 3 ++- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-same-version.yml b/.github/workflows/check-same-version.yml index 338726f..09016cd 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@v6.1.0 + uses: willynilly/same-version@v7.0.0 with: fail_for_missing_file: false check_github_event: true diff --git a/CITATION.cff b/CITATION.cff index 6263b23..6db32d6 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -34,7 +34,7 @@ keywords: - metadata - harmonization license: Apache-2.0 -version: "6.1.0" +version: "7.0.0" date-released: "2025-06-10" references: - title: Citation File Format diff --git a/README.md b/README.md index 7b72a4c..2863342 100644 --- a/README.md +++ b/README.md @@ -259,7 +259,7 @@ jobs: python-version: ">=3.10" - name: Run same-version - uses: willynilly/same-version@v6.1.0 + uses: willynilly/same-version@v7.0.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@v6.1.0 + uses: willynilly/same-version@v7.0.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: v6.1.0 # Use latest tag + rev: v7.0.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 e5cf20f..9fca2ec 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: v6.1.0 # Use latest tag + rev: v7.0.0 # Use latest tag hooks: - id: same-version stages: [pre-commit, pre-push] diff --git a/pyproject.toml b/pyproject.toml index b26f1b7..5ba04fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "same-version" -version = "6.1.0" +version = "7.0.0" description = "Automatically ensures your software version metadata is consistent across key project files." readme = "README.md" requires-python = ">=3.10" @@ -60,6 +60,7 @@ sources = ["src"] [tool.hatch.build.targets.wheel] packages = ["same_version"] +sources = ["src"] [project.scripts] same-version = "same_version.main:main"