changeset 5838:c0ed8e574638 stable 10.3.0

ci: build sdist tarball as a post step (only for tagged revisions)
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 11 Mar 2021 17:14:09 +0800
parents f320811a6b00
children 1677f07e9ed5
files .gitlab-ci.yml
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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