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

Circle CI: build without cache for the release branch (#18280)

* Check also for master branch
parent 8114af48
No related branches found
No related tags found
No related merge requests found
......@@ -550,6 +550,13 @@ jobs:
else
echo '' > .CACHE-PREFIX
fi
- run:
name: 'Check for branch name to bust caches if it is a release branch'
command: |
if [[ $CIRCLE_BRANCH == release* || $CIRCLE_BRANCH == master ]]; then
echo 'This is a release or master branch; using cache-busting prefix'
echo '<< pipeline.id >>' > .CACHE-PREFIX
fi
- run-yarn-command:
command-name: Create static visualization js bundle
command: build-static-viz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment