10835: internal: pull website before generating new changelog r=jonas-schievink a=jonas-schievink

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10829

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
bors[bot] 2021-11-22 13:47:25 +00:00 committed by GitHub
commit e8f15bd794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,11 @@ impl flags::Release {
.run()?;
let website_root = project_root().join("../rust-analyzer.github.io");
{
let _dir = pushd(&website_root)?;
cmd!("git switch src").run()?;
cmd!("git pull").run()?;
}
let changelog_dir = website_root.join("./thisweek/_posts");
let today = date_iso()?;