Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoiro3 authored Jan 15, 2025
1 parent 4b6ec2b commit 1a5e388
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 1a5e388

Please sign in to comment.