We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71f2f0e + b0f71bc commit 32aa897Copy full SHA for 32aa897
scripts/docker-write-version.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash
+#!/bin/sh
2
3
set -ex
4
@@ -11,7 +11,7 @@ DIST_VERSION=$TAG
11
# a few SHAs rather than a version.
12
# Docker Hub doesn't always check out the tag and sometimes checks out the branch, so we should look
13
# for an appropriately tagged branch as well (heads/v1.2.3).
14
-if [ $BRANCH != 'HEAD' && $BRANCH != 'heads/v*' ]
+if [[ $BRANCH != 'HEAD' && $BRANCH != 'heads/v*' ]]
15
then
16
REACT_SHA=$(cd node_modules/matrix-react-sdk; git rev-parse --short=12 HEAD)
17
JSSDK_SHA=$(cd node_modules/matrix-js-sdk; git rev-parse --short=12 HEAD)
0 commit comments