Skip to content
Snippets Groups Projects
Unverified Commit adb2f715 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Circle CI: build a complete Uberjar on a release branch (#18370)

Make sure that the built Uberjar contains translations etc.
parent 9e388032
No related branches found
No related tags found
No related merge requests found
......@@ -890,7 +890,13 @@ jobs:
# INTERACTIVE=false will tell the clojure build scripts not to do interactive retries etc.
INTERACTIVE: "false"
MB_EDITION: << parameters.edition >>
command: ./bin/build version uberjar
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
no_output_timeout: 15m
- store_artifacts:
path: /home/circleci/metabase/metabase/target/uberjar/metabase.jar
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment