From e609381e2fb7a6720ab385d5d65a2db6622ab54b Mon Sep 17 00:00:00 2001 From: "Nicholas St. Germain" Date: Wed, 11 Dec 2019 13:22:23 -0600 Subject: [PATCH 1/2] add common release params to pypi --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22cf0941..f0b30ecc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -129,6 +129,7 @@ github: - git push --tags pypi: + <<: *common_release image: python:3.7.3-alpine stage: release cache: From ad897d2a23baf9f616c49bacc7df841ff3cc7c1c Mon Sep 17 00:00:00 2001 From: "Nicholas St. Germain" Date: Wed, 11 Dec 2019 13:24:35 -0600 Subject: [PATCH 2/2] fix version tagging --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f0b30ecc..2daa974a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ stages: - mkdir $HOME/.docker - echo '{"experimental":"enabled"}' > $HOME/.docker/config.json - if [[ $CI_COMMIT_REF_NAME == "master" ]]; then - export TAG=$(grep -i version varken/__init__.py | cut -d \ -f3 | tr -d \"); + export TAG=$(grep -i version pyouroboros/__init__.py | cut -d \ -f3 | tr -d \"); else export TAG="develop"; fi