File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments