2022-01-30 21:36:18 +01:00
|
|
|
set -e
|
2022-01-30 21:40:13 +01:00
|
|
|
cd .ci
|
2021-10-24 10:35:53 +02:00
|
|
|
export COMMIT_MSG=$(python3 print_deploy_message.py)
|
2022-01-30 21:40:13 +01:00
|
|
|
cd ..
|
2021-10-24 10:35:53 +02:00
|
|
|
make ci-build
|
2022-01-30 21:33:32 +01:00
|
|
|
cd build/LatexPackagesBuild
|
2021-10-24 10:35:53 +02:00
|
|
|
git add .
|
|
|
|
git commit -m "${COMMIT_MSG}" || echo "Nothing new to commit"
|
2023-10-18 11:19:33 +02:00
|
|
|
git remote set-url --push git@git.abstractnonsen.se:latex/latex-packages
|
2023-10-18 11:13:58 +02:00
|
|
|
git push --set-upstream origin ${REF_NAME}-build
|
2022-01-30 21:33:32 +01:00
|
|
|
cd ../..
|
2022-01-30 21:56:06 +01:00
|
|
|
mkdir -p ~/texmf/tex/latex
|
|
|
|
cp -r build/LatexPackagesBuild ~/texmf/tex/latex
|
2022-01-30 21:33:32 +01:00
|
|
|
make doc
|
|
|
|
cd build
|
2022-01-30 21:30:44 +01:00
|
|
|
mv LatexPackagesBuild LatexPackages
|
|
|
|
zip -r LatexPackages.zip LatexPackages/ -x '*.git*'
|
|
|
|
zip -r LatexPackagesDocumentation.zip documentation
|