Skip to content

Commit 1d26b76

Browse files
committed
deploy visualpython v2.3.0
1 parent 19e3410 commit 1d26b76

File tree

9 files changed

+31
-9
lines changed

9 files changed

+31
-9
lines changed

build.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@
88
# Date : 2023. 02. 08
99
# Change Date :
1010
#
11+
#=============================================================================
12+
# Set version and replace it
13+
#=============================================================================
14+
VP_ORG_VER=2.2.12
15+
VP_NEW_VER=2.3.0
16+
17+
# update version info
18+
grep -REil "VP_ORG_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh | xargs sed -i "s/VP_ORG_VER=.\+$/VP_ORG_VER=${VP_ORG_VER}/g"
19+
grep -REil "VP_NEW_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh | xargs sed -i "s/VP_NEW_VER=.\+$/VP_NEW_VER=${VP_NEW_VER}/g"
20+
1121
TEMP_PWD=$PWD
1222

1323
#=============================================================================
@@ -28,6 +38,18 @@ cd $TEMP_PWD/jupyternotebook
2838
cd $TEMP_PWD/jupyterlab
2939
./build.jupyterlab.sh
3040

41+
#=============================================================================
42+
# Upload (for maintainer only)
43+
#=============================================================================
44+
## jupyternotebook
45+
# python -m twine upload dist/jupyternotebook/dist/*
46+
47+
## jupyterlab
48+
# python -m twine upload dist/jupyterlab/*
49+
50+
## colab
51+
## upload on chrome web store with blacklogic.dev
52+
3153
exit 0
3254

3355
# End of file

colab/build.colab.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Replace Version
1313
#=============================================================================
1414
VP_ORG_VER=2.2.12
15-
VP_NEW_VER=2.3.1
15+
VP_NEW_VER=2.3.0
1616

1717
# update version info
1818
# update manifest version with new numbering for new version

colab/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Visual Python for Colab",
33
"description": "GUI-based Python code generator for Google Colab as an extension",
4-
"version": "2.3.1.1",
4+
"version": "2.3.0.1",
55
"manifest_version": 3,
66
"icons": {
77
"48": "icon.png",

jupyterlab/build.jupyterlab.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Replace Version and Basic Files
1313
#=============================================================================
1414
VP_ORG_VER=2.2.12
15-
VP_NEW_VER=2.3.1
15+
VP_NEW_VER=2.3.0
1616

1717
# update version info
1818
grep -REil "version = \"${VP_ORG_VER}\"" pyproject.toml | xargs sed -i "s/version = \"${VP_ORG_VER//\./\\.}\"/version = \"${VP_NEW_VER}\"/g"

jupyterlab/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.9",
3333
"Programming Language :: Python :: 3.10",
3434
]
35-
version = "2.3.1"
35+
version = "2.3.0"
3636

3737
[project.license]
3838
file = "LICENSE"
@@ -90,7 +90,7 @@ file = [
9090
]
9191

9292
[tool.tbump.version]
93-
current = "2.3.1"
93+
current = "2.3.0"
9494
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
9595

9696
[tool.tbump.git]

jupyternotebook/build.jupyternotebook.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# Replace Version and Basic Files
1313
#=============================================================================
1414
VP_ORG_VER=2.2.12
15-
VP_NEW_VER=2.3.1
15+
VP_NEW_VER=2.3.0
1616

1717
# update version info
1818
grep -REil ${VP_ORG_VER//\./\\.} setup.py visualpython/* | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"

jupyternotebook/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name = name,
13-
version = '2.3.1',
13+
version = '2.3.0',
1414
packages = find_packages(),
1515
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
1616
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],

visualpython/js/com/com_Config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ define([
919919
/**
920920
* Version
921921
*/
922-
Config.version = "2.3.1";
922+
Config.version = "2.3.0";
923923

924924
/**
925925
* Type of mode

visualpython/js/com/com_Const.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define ([
1919
class Constants { }
2020

2121
Constants.TOOLBAR_BTN_INFO = {
22-
HELP: "Visual Python 2.3.1"
22+
HELP: "Visual Python 2.3.0"
2323
, ICON: "vp-main-icon"
2424
, ID: "vpBtnToggle"
2525
, NAME: "toggle-vp"

0 commit comments

Comments
 (0)