Skip to content
Snippets Groups Projects

Update release scripts for new hackage-doc-tarball job

Merged Matthew Pickering requested to merge wip/doc-tarball into master
1 unresolved thread
3 files
+ 30
186
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -33,6 +33,7 @@ def job_triple(job):
'source-tarball': 'src',
'doc-tarball': 'docs',
'hackage-doc-tarball': 'hackage_docs',
}
if job.name in bindists:
return bindists[job.name]
@@ -94,6 +95,10 @@ def fetch_artifacts(release: str, pipeline_id: int,
logging.info(f'extracted docs {f} to {dest}')
index_path = destdir / 'index.html'
index_path.replace(dest / 'index.html')
elif job.name == 'hackage-doc-tarball':
dest = dest_dir / 'hackage_docs'
logging.info(f'moved hackage_docs to {dest}')
(destdir / 'hackage_docs').replace(dest)
else:
dest = dest_dir / f'ghc-{release}-{triple}.tar.xz'
if dest.exists():
Loading