Skip to content

Commit

Permalink
ci: 🐛 Fix jupyter releaser config
Browse files Browse the repository at this point in the history
  • Loading branch information
mahendrapaipuri committed Oct 11, 2023
1 parent 39d628d commit 5500de8
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ build_dir = "jupyter_power_usage/labextension"

[tool.jupyter-releaser.options]
version_cmd = "hatch version"
dist-dir = "dist"
npm-install-options = "--legacy-peer-deps"
release-message = "[ci skip] Publish {version}"
tag-message = "[ci skip] Release {tag_name}"

[tool.jupyter-releaser.hooks]
before-build-npm = [
Expand Down Expand Up @@ -148,17 +152,3 @@ omit = [
# Unused files
"*/site-packages/*"
]

[tool.jupyter-releaser.options]
version-cmd = "hatch version"
dist-dir = "dist"
npm-install-options = "--legacy-peer-deps"
release-message = "[ci skip] Publish {version}"
tag-message = "[ci skip] Release {tag_name}"

[tool.jupyter-releaser.hooks]
before-build-npm = [
"pip install 'jupyterlab>=3.0.0,<4'",
"jlpm",
"jlpm run build:prod",
]

0 comments on commit 5500de8

Please sign in to comment.