Skip to content
Snippets Groups Projects
Commit cc8f7ebb authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

use CI_COMMIT_BRANCH

parent bb8db960
No related branches found
No related tags found
No related merge requests found
Pipeline #126549 passed
......@@ -13,10 +13,10 @@ upload:
- sed -i "s/0.0.1/$CI_COMMIT_TAG/g" cellxgene-hosting/Chart.yaml
- CHART_NAME=$(helm show chart cellxgene-hosting | grep name | cut -d' ' -f2)
- |
if [ "helm" == "${CI_COMMIT_REF_NAME}" ]; then
if [ "helm" == "${CI_COMMIT_BRANCH}" ]; then
export CHANNEL="stable"
else
export CHANNEL="${CI_COMMIT_REF_NAME}"
export CHANNEL="${CI_COMMIT_BRANCH}"
fi
echo $CHANNEL
- helm package cellxgene-hosting
......
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