From b6bff1fbba741635c1121bec21f18ab18abcfde2 Mon Sep 17 00:00:00 2001 From: "Christopher K. Long" Date: Thu, 17 Apr 2025 13:23:28 +0100 Subject: [PATCH 1/2] Attempt to fix release generation bug --- .github/workflows/release-and-publish-to-pypi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-and-publish-to-pypi.yml b/.github/workflows/release-and-publish-to-pypi.yml index 80491cd..042e429 100644 --- a/.github/workflows/release-and-publish-to-pypi.yml +++ b/.github/workflows/release-and-publish-to-pypi.yml @@ -79,6 +79,7 @@ jobs: id-token: write # IMPORTANT: mandatory for sigstore steps: + - uses: actions/checkout@v4 - name: Download all the dists uses: actions/download-artifact@v4 with: @@ -92,7 +93,7 @@ jobs: ./dist/*.whl - name: Get Version run: | - echo "VERSION=$(cat "../CITATION.cff" | perl -nle'print $& while m{(?<=^version:\s).*}g')" >> $GITHUB_OUTPUT + echo "VERSION=$(cat "CITATION.cff" | perl -nle'print $& while m{(?<=^version:\s).*}g')" >> $GITHUB_OUTPUT id: version - name: Create GitHub Release env: From 2914f369fdbd9dd039cf498391098a941598befa Mon Sep 17 00:00:00 2001 From: "Christopher K. Long" Date: Thu, 17 Apr 2025 13:24:39 +0100 Subject: [PATCH 2/2] v1.1.7 --- CITATION.cff | 2 +- ChangeLog.md | 4 ++++ README.md | 2 +- pyproject.toml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index b2cc06c..05cec59 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -29,5 +29,5 @@ keywords: - load - loading license: Apache-2.0 -version: 1.1.6 +version: 1.1.7 date-released: '2025-04-17' \ No newline at end of file diff --git a/ChangeLog.md b/ChangeLog.md index 2041135..220d020 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,9 @@ # [saveable-objects](README.md) Change Log +## Release 1.1.7 + +- GitHub workflow release generation bug. + ## Release 1.1.6 - Removed duplicated license tabs from the GitHub documentation; diff --git a/README.md b/README.md index 2b73e9f..fe80fb8 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,5 @@ Source code can be found at: [https://github.com/Christopher-K-Long/saveable-obj ## Version and Changes -The current version is [`1.1.6`](ChangeLog.md#release-116). Please see the [Change Log](ChangeLog.md) for more +The current version is [`1.1.7`](ChangeLog.md#release-117). Please see the [Change Log](ChangeLog.md) for more details. diff --git a/pyproject.toml b/pyproject.toml index 56c5392..a498608 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "saveable-objects" -version = "1.1.6" +version = "1.1.7" authors = [ { name="Christopher_K._Long", email="ckl45@cam.ac.uk" }, ]