# HG changeset patch # User Anton Shestakov # Date 1615454049 -28800 # Node ID c0ed8e57463875414d1c06f0428d550c4480d289 # Parent f320811a6b0030402658a8b7ecbd04cda96b252f ci: build sdist tarball as a post step (only for tagged revisions) diff -r f320811a6b00 -r c0ed8e574638 .gitlab-ci.yml --- a/.gitlab-ci.yml Thu Mar 11 18:32:58 2021 +0800 +++ b/.gitlab-ci.yml Thu Mar 11 17:14:09 2021 +0800 @@ -82,3 +82,14 @@ artifacts: paths: - html/* + +sdist: + stage: .post + image: registry.heptapod.net/mercurial/ci-images/py3-hgext3rd + script: + - python3 setup.py sdist + artifacts: + paths: + - dist/* + only: + - tags