Skip to content

Commit 705f882

Browse files
committed
Update the manual on release
1 parent 9fc2748 commit 705f882

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xtask/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ pub fn run_release(dry_run: bool) -> Result<()> {
166166
run!("git push")?;
167167
}
168168

169-
let changelog_dir = project_root().join("../rust-analyzer.github.io/thisweek/_posts");
169+
let website_root = project_root().join("../rust-analyzer.github.io");
170+
let changelog_dir = website_root.join("/thisweek/_posts");
170171

171172
let today = run!("date --iso")?;
172173
let commit = run!("git rev-parse HEAD")?;
@@ -195,5 +196,7 @@ Release: release:{}[]
195196
let path = changelog_dir.join(format!("{}-changelog-{}.adoc", today, changelog_n));
196197
fs::write(&path, &contents)?;
197198

199+
fs::copy(project_root().join("./docs/user/readme.adoc"), website_root.join("manual.adoc"))?;
200+
198201
Ok(())
199202
}

0 commit comments

Comments
 (0)