From 4ba3f467c1f9ac664b357328e5f668d6db5780ec Mon Sep 17 00:00:00 2001
From: Rich Wareham <rjw57@cam.ac.uk>
Date: Tue, 9 Nov 2021 11:27:28 +0000
Subject: [PATCH] gitlab-ci: add support for uploading to PyPI

---
 .gitlab-ci.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c7bf2ec..70a80a6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,11 @@ include:
   # https://gitlab.com/gitlab-org/gitlab-ee/blob/master/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
   - template: Auto-DevOps.gitlab-ci.yml
 
+  # Support uploading to PyPI
+  - project: 'uis/devops/continuous-delivery/ci-templates'
+    ref: v1.5.0
+    file: '/pypi-release.yml'
+
 variables:
   # We use matrix testing (below) rather than the Auto-DevOps "test" job.
   TEST_DISABLED: "true"
-- 
GitLab