From f12cf02ebaca179530d0e888760e5ccf3d944b08 Mon Sep 17 00:00:00 2001 From: Joe Pack Date: Tue, 27 Feb 2024 09:34:02 +0000 Subject: [PATCH] Fix indentation for exports --- buildspec.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index e240d59..c9ad051 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -1,6 +1,5 @@ version: 0.2 env: - # we need it to access https://github.com/bbc/mozart-fetcher-build git-credential-helper: yes variables: COSMOS_CERT: "/etc/pki/tls/certs/client.crt" @@ -9,8 +8,8 @@ phases: pre_build: on-failure: ABORT commands: - - export RELEASABLE_BRANCH=$(git branch --contains ${CODEBUILD_RESOLVED_SOURCE_VERSION} --remote | grep -c -E '^\s*origin/(main|master)$' || true) - - export COSMOS_VERSION=$(cosmos-release generate-version mozart-fetcher-eu-west-1) + - export RELEASABLE_BRANCH=$(git branch --contains ${CODEBUILD_RESOLVED_SOURCE_VERSION} --remote | grep -c -E '^\s*origin/(main|master)$' || true) + - export COSMOS_VERSION=$(cosmos-release generate-version mozart-fetcher-eu-west-1) install: on-failure: ABORT commands: