Skip to content

Commit af3034d

Browse files
author
minjk-bl
committed
Fix jupyterlab build file to edit version of package file
1 parent ed7b21a commit af3034d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

jupyterlab/build.jupyterlab.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ VP_ORG_VER=2.3.0
1515
VP_NEW_VER=2.3.1
1616

1717
# update version info
18+
grep -REil "\"version\": \"${VP_ORG_VER}\"" package.json | xargs sed -i "s/\"version\": \"${VP_ORG_VER//\./\\.}\"/\"version\": \"${VP_NEW_VER}\"/g"
1819
grep -REil "version = \"${VP_ORG_VER}\"" pyproject.toml | xargs sed -i "s/version = \"${VP_ORG_VER//\./\\.}\"/version = \"${VP_NEW_VER}\"/g"
1920
grep -REil "current = \"${VP_ORG_VER}\"" pyproject.toml | xargs sed -i "s/current = \"${VP_ORG_VER//\./\\.}\"/current = \"${VP_NEW_VER}\"/g"
2021
grep -REil ${VP_ORG_VER//\./\\.} ../visualpython/* | xargs sed -i "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"

jupyterlab/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-visualpython",
3-
"version": "2.2.12",
3+
"version": "2.3.1",
44
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
55
"keywords": [
66
"jupyter",

0 commit comments

Comments
 (0)