Fix CI stable branch update job bug

The update script clones a fresh copy each time, if more than one
invocation is needed intermediate copies need to be removed.

(cherry picked from commit 81b71d5aa6)
This commit is contained in:
Andoni Duarte Pintado 2026-02-18 12:35:45 +01:00 committed by Andoni Duarte (GitLab job 6892950)
parent d9eb13955c
commit 61f81bffb0

View file

@ -2130,6 +2130,7 @@ update-stable-tag:
- bind9-qa/releng/update_stable_tag.py --tag "$CI_COMMIT_TAG"
# Work around https://github.com/readthedocs/readthedocs.org/issues/10838
- sleep 300
- rm -rf ./bind9 # remove already cloned project
- bind9-qa/releng/update_stable_tag.py --tag "$CI_COMMIT_TAG"
rules:
- *rule_tag_open_source