diff .gitlab-ci.yml @ 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 4737d3db1671
children 8accc5eb0aba 221a2563b02f 97c248f9bb58
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