From 1a5e3885b82d5601a363e1e352590b75fcbca7bd Mon Sep 17 00:00:00 2001 From: Joseph Doiron <57968347+jdoiro3@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:27:49 -0500 Subject: [PATCH] lol --- .github/workflows/check_version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_version.yml b/.github/workflows/check_version.yml index d1c3feb..0b1c74d 100644 --- a/.github/workflows/check_version.yml +++ b/.github/workflows/check_version.yml @@ -51,9 +51,9 @@ jobs: var old_pyproject = toml.parse(await fs.readFile('old_pyproject.toml', 'utf8')) var msg_body = "" - if (semver.gte(old_pyproject.project.version, pyproject.project.version)) { + if (semver.gte(old_pyproject.tool.poetry.version, pyproject.project.version)) { msg_body = ( - `Update the version in [pyproject.toml](https://github.com/${{ github.event.pull_request.head.repo.full_name }}/blob/${{ github.head_ref }}/pyproject.toml) if you want this PR to generate a new release (main is ${old_pyproject.project.version} >= ${pyproject.project.version}).` + `Update the version in [pyproject.toml](https://github.com/${{ github.event.pull_request.head.repo.full_name }}/blob/${{ github.head_ref }}/pyproject.toml) if you want this PR to generate a new release (main is ${old_pyproject.tool.poetry.version} >= ${pyproject.project.version}).` ) } else { msg_body = "Version has been updated in pyproject.toml."