From 553c30c5a35a7c1ecda91ff1b8b73e24735522b9 Mon Sep 17 00:00:00 2001 From: Joe Pack Date: Tue, 27 Feb 2024 09:54:26 +0000 Subject: [PATCH] Reorder buildsteps --- buildspec.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index c9ad051..d52f9e7 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -5,15 +5,15 @@ env: COSMOS_CERT: "/etc/pki/tls/certs/client.crt" COSMOS_CERT_KEY: "/etc/pki/tls/private/client.key" 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) install: on-failure: ABORT commands: - certee-fetch + 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) build: on-failure: ABORT commands: