File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111# =============================================================================
1212# Replace Version
1313# =============================================================================
14- VP_ORG_VER=2.2.12
14+ VP_ORG_VER=2.3.0
1515VP_NEW_VER=2.3.0
16+ VP_COLAB_VER=2 # colab specified versioning
1617
1718# update version info
1819# update manifest version with new numbering for new version
19- grep -REil ${VP_ORG_VER// \. / \\ .} \. [0-9] manifest.json | xargs sed -i " s/${VP_ORG_VER// \. / \\ .} \.[0-9]/${VP_NEW_VER} .1 /g"
20+ 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"
2021# update version inside visualpython package
2122grep -REil ${VP_ORG_VER// \. / \\ .} visualpython/* | xargs sed -i --follow-symlinks " s/${VP_ORG_VER// \. / \\ .} /${VP_NEW_VER} /g"
2223
@@ -28,7 +29,7 @@ mkdir -p ../dist/colab
2829
2930# build package
3031# sudo apt-get install zip
31- zip -r ../dist/colab/visualpython-v$VP_NEW_VER .zip background.js content.js icon.png inject.js manifest.json visualpython
32+ zip -r ../dist/colab/visualpython-v$VP_NEW_VER .$VP_COLAB_VER . zip * -x build.colab.sh
3233
3334exit 0
3435# End of file
Original file line number Diff line number Diff line change 11{
22 "name" : " Visual Python for Colab" ,
33 "description" : " GUI-based Python code generator for Google Colab as an extension" ,
4- "version" : " 2.3.0.1 " ,
4+ "version" : " 2.3.0.2 " ,
55 "manifest_version" : 3 ,
66 "icons" : {
77 "48" : " icon.png" ,
You can’t perform that action at this time.
0 commit comments