Skip to content

Commit

Permalink
fix typo,add some log 2
Browse files Browse the repository at this point in the history
  • Loading branch information
phorcys committed Oct 14, 2018
1 parent d461eac commit 03bada3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis/build-linux.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ mkdir -p build ; cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .

echo "List builded Mods:"
ls -al Mods

cd ..

# If it compiled succesfully let's deploy
Expand Down
11 changes: 8 additions & 3 deletions .travis/deploy-linux.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cd build
mkdir -p Mods_publish
cd Mods

mkdir -p ${HOME}/.taiwu
mkdir -p ${HOME}/.taiwu/Mods_publish

for modzip in `ls *.zip`
do
Expand All @@ -26,8 +26,13 @@ do
# mods that need publish and regenerate json
python ../../.travis/addnewrelease.py ${HOME}/.taiwu/${modname}.json "${modname}" "${modversion}" "${modurl}"

cp ${modzip} ../Mods_publish/
cp ${HOME}/.taiwu/${modname}.json ../Mods_publish/
\cp -Rf ${modzip} ${HOME}/.taiwu/Mods_publish/
\cp -Rf ${HOME}/.taiwu/${modname}.json ${HOME}/.taiwu/Mods_publish/
echo "Published Mod ${modfullname} to Github Release page, Release tag : ${COMM_TAG}"
fi
\cp -Rf ${HOME}/.taiwu/Mods_publish/ ../Mods_publish/

echo "List Published Mods:"
ls -al ../Mods_publish/

fi

0 comments on commit 03bada3

Please sign in to comment.