redis
redis copied to clipboard
Replace custom_ref_type with auto detect archive URL
Sequentally test whether does tag, branch or commit archive exist for specified release_tag.
Detection output looks like this:
Run # Figure out the correct URL for the Redis release archive
curl: (22) The requested URL returned error: 404
404 https://github.com/redis/redis/archive/refs/tags/unstable.tar.gz
200 https://github.com/redis/redis/archive/refs/heads/unstable.tar.gz
REDIS_DOWNLOAD_URL=https://github.com/redis/redis/archive/refs/heads/unstable.tar.gz