Add TODO for extracting the domain from HTTPS URLs

This commit is contained in:
Oliver Davies 2024-04-17 07:41:51 +01:00
parent 0227ad945b
commit bbfdb0362d

View file

@ -29,6 +29,8 @@
fi
# Extract the remote domain (e.g. github.com) from the repo URL.
# TODO: make it work with HTTPS URLs.
# Cloning https://github.com/opdavies/oliverdavies.uk.git returns "https" as the domain.
domain="''${repo_url#*@}"
domain="''${domain%:*}"