forked from visualpython/visualpython
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
executable file
·55 lines (45 loc) · 2.05 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# Project Name : Visual Python
# Description : GUI-based Python code generator
# File Name : build.sh
# Author : Black Logic - Minju
# Note : Build Visual Python for All
# License : GPLv3 (GNU General Public License v3.0)
# Date : 2023. 02. 08
# Change Date :
#
#=============================================================================
# Set version and replace it
#=============================================================================
VP_ORG_VER=2.2.12
VP_NEW_VER=2.3.0
# 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"
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"
TEMP_PWD=$PWD
#=============================================================================
# Build Visual Python for Colab
#=============================================================================
cd $TEMP_PWD/colab
./build.colab.sh
#=============================================================================
# Build Visual Python for Jupyter Notebook
#=============================================================================
cd $TEMP_PWD/jupyternotebook
./build.jupyternotebook.sh
#=============================================================================
# Build Visual Python for Jupyter Lab
#=============================================================================
cd $TEMP_PWD/jupyterlab
./build.jupyterlab.sh
#=============================================================================
# Upload (for maintainer only)
#=============================================================================
## jupyternotebook
# python -m twine upload dist/jupyternotebook/dist/*
## jupyterlab
# python -m twine upload dist/jupyterlab/*
## colab
## upload on chrome web store with blacklogic.dev
exit 0
# End of file