Skip to content

Release v2.3.1 #194

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
jupyterlab/lib/visualpython
jupyterlab/lib/visualpython
test/
13 changes: 11 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Set version and replace it
#=============================================================================
VP_ORG_VER=2.2.12
VP_NEW_VER=2.3.0
VP_ORG_VER=2.3.0
VP_NEW_VER=2.3.1

# update version info
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"
Expand Down Expand Up @@ -50,6 +50,15 @@ cd $TEMP_PWD/jupyterlab
## colab
## upload on chrome web store with blacklogic.dev

#=============================================================================
# Commit Release (for maintainer only)
#=============================================================================
# git add .
# git commit -m "deploy visualpython ${VP_NEW_VER}"
# git push origin devops
# git checkout -b release
# git push origin release

exit 0

# End of file
9 changes: 5 additions & 4 deletions colab/build.colab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
#=============================================================================
# Replace Version
#=============================================================================
VP_ORG_VER=2.2.12
VP_NEW_VER=2.3.0
VP_ORG_VER=2.3.0
VP_NEW_VER=2.3.1
VP_COLAB_VER=1 # colab specified versioning

# update version info
# update manifest version with new numbering for new version
grep -REil ${VP_ORG_VER//\./\\.}\.[0-9] manifest.json | xargs sed -i "s/${VP_ORG_VER//\./\\.}\.[0-9]/${VP_NEW_VER}.1/g"
grep -REil ${VP_ORG_VER//\./\\.}\.[0-9] manifest.json | xargs sed -i "s/${VP_ORG_VER//\./\\.}\.[0-9]/${VP_NEW_VER}.${VP_COLAB_VER}/g"
# update version inside visualpython package
grep -REil ${VP_ORG_VER//\./\\.} visualpython/* | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"

Expand All @@ -28,7 +29,7 @@ mkdir -p ../dist/colab

# build package
# sudo apt-get install zip
zip -r ../dist/colab/visualpython-v$VP_NEW_VER.zip background.js content.js icon.png inject.js manifest.json visualpython
zip -r ../dist/colab/visualpython-v$VP_NEW_VER.$VP_COLAB_VER.zip * -x build.colab.sh

exit 0
# End of file
2 changes: 1 addition & 1 deletion colab/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Visual Python for Colab",
"description": "GUI-based Python code generator for Google Colab as an extension",
"version": "2.3.0.1",
"version": "2.3.1.1",
"manifest_version": 3,
"icons": {
"48": "icon.png",
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/build.jupyterlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.2.12
VP_NEW_VER=2.3.0
VP_ORG_VER=2.3.0
VP_NEW_VER=2.3.1

# update version info
grep -REil "version = \"${VP_ORG_VER}\"" pyproject.toml | xargs sed -i "s/version = \"${VP_ORG_VER//\./\\.}\"/version = \"${VP_NEW_VER}\"/g"
Expand Down
3 changes: 3 additions & 0 deletions jupyterlab/dev-build.jupyterlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ grep -rl "__VP_CSS_LOADER__" lib/visualpython/js/* | xargs sed -i "s/__VP_CSS_LO
# sudo apt-get install curl
# curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash # install nvm
# nvm install 16.15.1 # install node 16.15.1
# nvm ls # show version
## solution for [node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28` not found error]
# nvm use 16 # use 16 version
#=============================================================================
# python -m pip install jupyterlab
# npm install # install npm package dependencies
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
version = "2.3.0"
version = "2.3.1"

[project.license]
file = "LICENSE"
Expand Down Expand Up @@ -90,7 +90,7 @@ file = [
]

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

[tool.tbump.git]
Expand Down
Loading