18 lines
565 B
Bash
Executable file
18 lines
565 B
Bash
Executable file
set -e
|
|
cd .ci
|
|
export COMMIT_MSG=$(python3 print_deploy_message.py)
|
|
cd ..
|
|
make ci-build
|
|
cd build/LatexPackagesBuild
|
|
git add .
|
|
git commit -m "${COMMIT_MSG}" || echo "Nothing new to commit"
|
|
git remote set-url origin --push git@git.abstractnonsen.se:latex/latex-packages-build
|
|
git push --set-upstream origin ${REF_NAME}-build
|
|
cd ../..
|
|
mkdir -p ~/texmf/tex/latex
|
|
cp -r build/LatexPackagesBuild ~/texmf/tex/latex
|
|
make doc
|
|
cd build
|
|
mv LatexPackagesBuild LatexPackages
|
|
zip -r LatexPackages.zip LatexPackages/ -x '*.git*'
|
|
zip -r LatexPackagesDocumentation.zip documentation
|