Skip to content

Commit

Permalink
Update deploy.yml since pyproject.toml tool.poetry section no longer …
Browse files Browse the repository at this point in the history
…has version.
  • Loading branch information
jdoiro3 authored Jan 15, 2025
1 parent 399277b commit 5f78906
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 @@ -168,7 +168,7 @@ jobs:
const toml = require('toml')
const fs = require('fs').promises
const parseChangelog = require('changelog-parser')
var version = toml.parse(await fs.readFile('pyproject.toml', 'utf8')).tool.poetry.version
var version = toml.parse(await fs.readFile('pyproject.toml', 'utf8')).project.version
var changelog = await parseChangelog('CHANGELOG.md')
let result = {changes: changelog.versions[0].body, version: version}
console.log(result)
Expand Down

0 comments on commit 5f78906

Please sign in to comment.