Pull website before generating new changelog

This commit is contained in:
Jonas Schievink 2021-11-22 14:45:47 +01:00
parent a37f613f32
commit 03188e63cc

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()?;