From 7ea4b567091d85f999707b54c197965389c0a77e Mon Sep 17 00:00:00 2001
From: Ariya Hidayat <ariya@metabase.com>
Date: Mon, 18 Oct 2021 16:30:24 -0700
Subject: [PATCH] Revert "Circle CI: build a complete Uberjar on a release
 branch (#18370)" (#18544)

This reverts commit adb2f715 as it broke Uberjar builds on CircleCI.
---
 .circleci/config.yml | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/.circleci/config.yml b/.circleci/config.yml
index 65d6c28b517..d5e2d9f7587 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -890,13 +890,7 @@ jobs:
                   # INTERACTIVE=false will tell the clojure build scripts not to do interactive retries etc.
                   INTERACTIVE: "false"
                   MB_EDITION: << parameters.edition >>
-                command: |
-                  if [[ $CIRCLE_BRANCH == release* || $CIRCLE_BRANCH == master  ]]; then
-                    echo 'This is a release or master branch; building a complete Uberjar'
-                    ./bin/build
-                  else
-                    ./bin/build version uberjar
-                  fi
+                command: ./bin/build version uberjar
                 no_output_timeout: 15m
             - store_artifacts:
                 path: /home/circleci/metabase/metabase/target/uberjar/metabase.jar
-- 
GitLab