diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-04-08 18:59:02 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2021-04-14 10:22:23 -0400 |
commit | f8f5dc4bba82ae45fc36b1d93efb5851f67770dd (patch) | |
tree | cb9fe7edbe936fb83330851c33de0f6fd4e8a38a | |
parent | 0f35b2c6bc3547ffe9ca5193e774f6270cb1ff35 (diff) | |
download | haskell-f8f5dc4bba82ae45fc36b1d93efb5851f67770dd.tar.gz |
gitlab-ci: Build source-tarball when RELEASE_JOB is set
-rw-r--r-- | .gitlab-ci.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6008d6c84b..4f35006964 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,7 +69,6 @@ workflow: # N.B. Don't run on wip/ branches, instead on run on merge requests. rules: - if: $CI_MERGE_REQUEST_ID - - if: $CI_COMMIT_TAG - if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH =~ /ghc-[0-9]+\.[0-9]+/' - if: '$CI_PIPELINE_SOURCE == "web"' @@ -1292,7 +1291,7 @@ source-tarball: image: "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb9:$DOCKER_REV" dependencies: [] rules: - - if: $CI_COMMIT_TAG + - if: '$RELEASE_JOB == "yes"' when: always artifacts: paths: |