Skip to content
Snippets Groups Projects
Commit e6c46fd5 authored by moon2's avatar moon2 :speech_balloon:
Browse files

docs: print branches before and after rename while building

parent 1dd4c258
No related branches found
No related tags found
1 merge request!748docs: print branches before and after rename while building
Pipeline #13310 failed
......@@ -62,9 +62,11 @@ pages:
rules:
- if: $CI_COMMIT_BRANCH == "main"
script:
- git branch
- git tag | xargs git tag -d
- git branch | sed -e 's/..//' | grep '^release/' | while read b; do git branch -m "$b" "v${b#release/}"; done
- git branch -m main dev
- git branch
- mkdir public
- cd docs
- make versionedhtml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment