Skip to content

Commit

Permalink
update deploy.yml since pyproject.toml structure changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoiro3 authored Jan 15, 2025
1 parent 5f78906 commit 78132fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
var pyproject = toml.parse(await fs.readFile('pyproject.toml', 'utf8'))
var old_pyproject = toml.parse(await fs.readFile('old_pyproject.toml', 'utf8'))
if (semver.gte(old_pyproject.tool.poetry.version, pyproject.tool.poetry.version)) {
if (semver.gte(old_pyproject.project.version, pyproject.project.version)) {
console.log(`the current package version is <= the version on main (${old_pyproject.tool.poetry.version} >= ${pyproject.tool.poetry.version})`)
return "false"
} else {
Expand Down

0 comments on commit 78132fa

Please sign in to comment.