File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11
11
# =============================================================================
12
12
# Replace Version
13
13
# =============================================================================
14
- VP_ORG_VER=2.2.12
14
+ VP_ORG_VER=2.3.0
15
15
VP_NEW_VER=2.3.0
16
+ VP_COLAB_VER=2 # colab specified versioning
16
17
17
18
# update version info
18
19
# 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"
20
21
# update version inside visualpython package
21
22
grep -REil ${VP_ORG_VER// \. / \\ .} visualpython/* | xargs sed -i --follow-symlinks " s/${VP_ORG_VER// \. / \\ .} /${VP_NEW_VER} /g"
22
23
@@ -28,7 +29,7 @@ mkdir -p ../dist/colab
28
29
29
30
# build package
30
31
# 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
32
33
33
34
exit 0
34
35
# End of file
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " Visual Python for Colab" ,
3
3
"description" : " GUI-based Python code generator for Google Colab as an extension" ,
4
- "version" : " 2.3.0.1 " ,
4
+ "version" : " 2.3.0.2 " ,
5
5
"manifest_version" : 3 ,
6
6
"icons" : {
7
7
"48" : " icon.png" ,
You can’t perform that action at this time.
0 commit comments