Commit 32aa897e authored by Travis Ralston's avatar Travis Ralston Committed by GitHub

Merge pull request #12670 from vector-im/travis/fix-docker-version

Fix Docker image version for develop builds
parents 71f2f0e7 b0f71bc9
set -ex
......@@ -11,7 +11,7 @@ DIST_VERSION=$TAG
# a few SHAs rather than a version.
# Docker Hub doesn't always check out the tag and sometimes checks out the branch, so we should look
# for an appropriately tagged branch as well (heads/v1.2.3).
if [ $BRANCH != 'HEAD' && $BRANCH != 'heads/v*' ]
if [[ $BRANCH != 'HEAD' && $BRANCH != 'heads/v*' ]]
REACT_SHA=$(cd node_modules/matrix-react-sdk; git rev-parse --short=12 HEAD)
JSSDK_SHA=$(cd node_modules/matrix-js-sdk; git rev-parse --short=12 HEAD)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment