Skip to content

Commit

Permalink
Cut beta releases for Rustup from the stable branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jdno committed Oct 3, 2024
1 parent ad0c357 commit fd3f06d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/rustup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,8 @@ impl Context {
sha: String,
}

let url = format!(
"https://api.github.com/repos/rust-lang/rustup/commits/{}",
self.config.channel
);

let mut client = Easy::new();
client.url(&url)?;
client.url("https://api.github.com/repos/rust-lang/rustup/commits/stable")?;
client.useragent("rust-lang/promote-release")?;

let commit: Commit = client.without_body().send_with_response()?;
Expand Down

0 comments on commit fd3f06d

Please sign in to comment.