This commit is contained in:
msojocs 2022-02-23 21:24:40 +08:00
parent d641142540
commit 77924ec432
2 changed files with 3 additions and 1 deletions

View File

@ -68,7 +68,8 @@ jobs:
sudo cp -r package.nw/node_modules/nodegit tmp/build/nodegit sudo cp -r package.nw/node_modules/nodegit tmp/build/nodegit
sudo cp -r compiler tmp/build/compiler sudo cp -r compiler tmp/build/compiler
cd tmp/build cd tmp/build
tar -zvcf compiler.tar.gz compiler ls -l
tar -zcf compiler.tar.gz compiler
tar -zvcf nodegit.tar.gz nodegit tar -zvcf nodegit.tar.gz nodegit
sudo rm -rf compiler nodegit sudo rm -rf compiler nodegit
ls -l ls -l

View File

@ -2,6 +2,7 @@
# 参数: # 参数:
# 1 ---- NW版本 # 1 ---- NW版本
set -e
SOURCE="${BASH_SOURCE[0]}" SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )" DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"