Skip to content
Snippets Groups Projects
Commit 6ee2ad69 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

make url paths relative to channel

parent 74e941e4
No related branches found
No related tags found
1 merge request!63Conda package based CI
......@@ -18,6 +18,7 @@ def main(channel_url, name, version, py_ver, get_urls=False):
if match and match.group() == 'py{}'.format(py_ver):
build_number = max(build_number, dist.build_number + 1)
urls.append(index[dist].url)
urls = [url.replace(channel_url, '') for url in urls]
return build_number, urls
......
......@@ -24,7 +24,7 @@ done
if [ -z "${CI_COMMIT_TAG}" ]; then #beta
for urls in "_ci/*/*/build_number.txt"; do
for url in `tail -n +2 $urls`; do
dav_delete ${url/$DOCSERVER/}
dav_delete ${url}
done
done
fi
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