add canary versioning (#8480)

This commit is contained in:
crowlKats 2020-11-25 11:30:14 +01:00 committed by GitHub
parent 8d12653738
commit a08d2eee2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 43 additions and 22 deletions

View file

@ -33,7 +33,7 @@ pub fn create_http_client(ca_file: Option<&str>) -> Result<Client, AnyError> {
let mut headers = HeaderMap::new();
headers.insert(
USER_AGENT,
format!("Deno/{}", version::DENO).parse().unwrap(),
format!("Deno/{}", version::deno()).parse().unwrap(),
);
let mut builder = Client::builder()
.redirect(Policy::none())