Skip to content

Commit fd3f06d

Browse files
committed
Cut beta releases for Rustup from the stable branch
1 parent ad0c357 commit fd3f06d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/rustup.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,8 @@ impl Context {
8686
sha: String,
8787
}
8888

89-
let url = format!(
90-
"https://api.github.com/repos/rust-lang/rustup/commits/{}",
91-
self.config.channel
92-
);
93-
9489
let mut client = Easy::new();
95-
client.url(&url)?;
90+
client.url("https://api.github.com/repos/rust-lang/rustup/commits/stable")?;
9691
client.useragent("rust-lang/promote-release")?;
9792

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

0 commit comments

Comments
 (0)