File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ function update_script() {
4646
4747 msg_info " Building Frontend"
4848 (
49+ sed -i " s|\" version\" : \" 0.0.0\" |\" version\" : \" $RELEASE \" |" backend/package.json
50+ sed -i " s|\" version\" : \" 0.0.0\" |\" version\" : \" $RELEASE \" |" frontend/package.json
4951 cd ./frontend || exit
5052 $STD pnpm install
5153 $STD pnpm upgrade
@@ -72,8 +74,6 @@ function update_script() {
7274 ln -sf /usr/bin/certbot /opt/certbot/bin/certbot
7375 ln -sf /usr/local/openresty/nginx/sbin/nginx /usr/sbin/nginx
7476 ln -sf /usr/local/openresty/nginx/ /etc/nginx
75- sed -i " s|\" version\" : \" 0.0.0\" |\" version\" : \" $RELEASE \" |" backend/package.json
76- sed -i " s|\" version\" : \" 0.0.0\" |\" version\" : \" $RELEASE \" |" frontend/package.json
7777 sed -i ' s+^daemon+#daemon+g' docker/rootfs/etc/nginx/nginx.conf
7878 NGINX_CONFS=$( find " $( pwd) " -type f -name " *.conf" )
7979 for NGINX_CONF in $NGINX_CONFS ; do
You can’t perform that action at this time.
0 commit comments