fix assets url

This commit is contained in:
softprops 2019-08-25 22:01:15 -04:00
parent 9003b6a3e7
commit 1cddac2999

View File

@ -90,7 +90,7 @@ impl<A: Into<Body>> AssetUploader<A> for Client {
) -> Result<StatusCode, Box<dyn Error>> { ) -> Result<StatusCode, Box<dyn Error>> {
Ok(self Ok(self
.post(&format!( .post(&format!(
"http://uploads.github.com/repos/{}/releases/{}", "http://uploads.github.com/repos/{}/releases/{}/assets",
github_repo, release_id github_repo, release_id
)) ))
.header("Authorization", format!("bearer {}", github_token)) .header("Authorization", format!("bearer {}", github_token))