From 1340094890038c39790597d91d9e5f47a60b3021 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Wed, 28 Jul 2021 08:40:52 +0530 Subject: Fixing incorrect syntax for GH action workflow. [skip ci] --- .github/workflows/ferdi-builds.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index a3faf4ca6..61a710aad 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml @@ -56,7 +56,7 @@ jobs: CHANGES_COUNT=$(git diff --shortstat origin/develop | wc -l) MANUAL_REBUILD="${{ github.event_name == 'workflow_dispatch' }}" VERSION_BUMP="${{ contains(github.event.inputs.message, '[version bump]') }}" - if [ $CHANGES_COUNT -gt 0 ] || [ $MANUAL_REBUILD == "true" && $VERSION_BUMP == "true" ]; then + if [ $CHANGES_COUNT -gt 0 ] || [[ $MANUAL_REBUILD == "true" && $VERSION_BUMP == "true" ]]; then # Do the version bump in the 'develop' branch ONLY if there were other changes coming from the 'develop' branch git checkout develop npm version -m "%s [skip ci]" prerelease --preid=nightly -- cgit v1.2.3-54-g00ecf