Skip to content

Commit

Permalink
remove sub package version cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
trungleduc committed Nov 22, 2023
1 parent 259d50e commit 660dbb4
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Dependencies
run: |
pip install "jupyterlab>=4.0.0,<5"
jlpm install
jlpm dev
- name: Check Release
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:
Expand Down
3 changes: 0 additions & 3 deletions python/jupytercad-app/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ build_cmd = "build"
npm = ["jlpm"]
source_dir = "src"

[tool.jupyter-releaser.options]
version_cmd = "hatch version"

[tool.jupyter-releaser.hooks]
before-build-npm = [
"python -m pip install 'jupyterlab>=4.0.0,<5'",
Expand Down
2 changes: 1 addition & 1 deletion python/jupytercad-app/scripts/bump-version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def bump():
pass
print("IM CALLED", __file__)


if __name__ == "__main__":
Expand Down
11 changes: 6 additions & 5 deletions python/jupytercad-core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.5.0", "jupyterlab>=4.0.0,<5", "hatch-nodejs-version>=0.3.2"]
requires = [
"hatchling>=1.5.0",
"jupyterlab>=4.0.0,<5",
"hatch-nodejs-version>=0.3.2",
]

[project]
classifiers = [
Expand All @@ -25,7 +29,7 @@ dependencies = [
"jupyter-collaboration>=1.2.0,<2",
]
dynamic = ["version", "description", "authors", "urls", "keywords"]
license = {file = "LICENSE"}
license = { file = "LICENSE" }
name = "jupytercad-core"
readme = "README.md"
requires-python = ">=3.8"
Expand Down Expand Up @@ -69,9 +73,6 @@ build_dir = "jupytercad_core/labextension"
npm = ["jlpm"]
source_dir = "src"

[tool.jupyter-releaser.options]
version_cmd = "hatch version"

[tool.jupyter-releaser.hooks]
before-build-npm = [
"python -m pip install 'jupyterlab>=4.0.0,<5'",
Expand Down
2 changes: 1 addition & 1 deletion python/jupytercad-core/scripts/bump-version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def bump():
pass
print("IM CALLED", __file__)


if __name__ == "__main__":
Expand Down
3 changes: 0 additions & 3 deletions python/jupytercad-lab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ build_dir = "jupytercad_lab/labextension"
npm = ["jlpm"]
source_dir = "src"

[tool.jupyter-releaser.options]
version_cmd = "hatch version"

[tool.jupyter-releaser.hooks]
before-build-npm = [
"python -m pip install 'jupyterlab>=4.0.0,<5'",
Expand Down
2 changes: 1 addition & 1 deletion python/jupytercad-lab/scripts/bump-version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def bump():
pass
print("IM CALLED", __file__)


if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions scripts/bump-version.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def next_version():


def bump():
print("IM CALLED", __file__)
parser = argparse.ArgumentParser()
parser.add_argument("version")
args = parser.parse_args()
Expand Down

0 comments on commit 660dbb4

Please sign in to comment.