diff options
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 301a88324..4050f9d01 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs | |||
@@ -166,7 +166,8 @@ pub fn run_release(dry_run: bool) -> Result<()> { | |||
166 | run!("git push")?; | 166 | run!("git push")?; |
167 | } | 167 | } |
168 | 168 | ||
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"); | ||
170 | 171 | ||
171 | let today = run!("date --iso")?; | 172 | let today = run!("date --iso")?; |
172 | let commit = run!("git rev-parse HEAD")?; | 173 | let commit = run!("git rev-parse HEAD")?; |
@@ -195,5 +196,7 @@ Release: release:{}[] | |||
195 | let path = changelog_dir.join(format!("{}-changelog-{}.adoc", today, changelog_n)); | 196 | let path = changelog_dir.join(format!("{}-changelog-{}.adoc", today, changelog_n)); |
196 | fs::write(&path, &contents)?; | 197 | fs::write(&path, &contents)?; |
197 | 198 | ||
199 | fs::copy(project_root().join("./docs/user/readme.adoc"), website_root.join("manual.adoc"))?; | ||
200 | |||
198 | Ok(()) | 201 | Ok(()) |
199 | } | 202 | } |