Commit a4fb7026 authored by Maximilian Sprengholz's avatar Maximilian Sprengholz

Bump to v1.2.0

parent 1c9e5ce8
Pipeline #14959 failed with stages
in 28 seconds
......@@ -17,25 +17,17 @@ before_script:
gen_docs:
stage: build
script:
- git config --global user.name "${GITLAB_USER_NAME}"
- git config --global user.email "${GITLAB_USER_EMAIL}"
- git checkout -b lololol
- cd docs
- python3 dep/regexrep.py 'appendix.md' '(subtitle:[\s])(.*)' '\1"Version <b>' ${CI_COMMIT_TAG} '</b>"'
- python dep/regexrep.py 'appendix.md' '(date:[\s])(.*)' '\1"' ${DATE} '"'
- pandoc --filter pandoc-include --filter pandoc-crossref --citeproc --bibliography=dep/appendix.bib --csl=dep/journal-of-family-research.csl --number-sections --table-of-contents -c dep/empty.css -H dep/vue_extended_h.css appendix.md -H dep/lightbox.js -s -o appendix.html
- cd ../
- git config --global user.name "${GITLAB_USER_NAME}"
- git config --global user.email "${GITLAB_USER_EMAIL}"
- git add docs/appendix.md
- git add docs/appendix.html
- git commit -m "Document build ${CI_COMMIT_TAG} [ci skip]" || echo "Nothing to commit."
- git remote rm origin && git remote add origin http://${GITLAB_USER_LOGIN}:${TOKEN}@scm.cms.hu-berlin.de/${CI_PROJECT_PATH}
- git push -u origin lololol
- git tag -d ${CI_COMMIT_TAG}
- git tag -a ${CI_COMMIT_TAG} -m "Bump to ${CI_COMMIT_TAG} [ci skip]"
- git push origin :refs/tags/${CI_COMMIT_TAG}
- git push origin master:refs/tags/${CI_COMMIT_TAG}
- git checkout master
- git branch -D lololol
- git commit -m "Doc build after ${CI_COMMIT_TAG} commit [ci skip]" || echo "Nothing to commit."
- git push http://${GITLAB_USER_LOGIN}:${TOKEN}@scm.cms.hu-berlin.de/${CI_PROJECT_PATH} HEAD:${CI_COMMIT_REF_NAME}
only:
- tags
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment