Skip to content

Commit 54e91df

Browse files
authored
Move "Upload" header in publish.sh to before all uploads
1 parent 7813998 commit 54e91df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.buildkite/steps/publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,11 @@ buildkite-agent artifact download build/mappings.yml build/
2828
echo "--- Fetching latest git tags"
2929
git fetch --tags
3030

31-
echo "--- Building :cloudformation: templates"
31+
echo "--- Building :cloudformation: CloudFormation templates"
3232
make build/aws-stack.yml
3333

34+
echo "--- Uploading :cloudformation: CloudFormation templates"
35+
3436
# Publish the top-level mappings only on when we see the most recent tag on master
3537
if is_latest_tag ; then
3638
if ! is_prerelease_tag ; then
@@ -41,8 +43,6 @@ else
4143
echo "Skipping publishing latest, '$BUILDKITE_TAG' doesn't match '$(git describe origin/master --tags --match='v*')'"
4244
fi
4345

44-
echo "--- Uploading :cloudformation: templates"
45-
4646
# Publish the most recent commit from each branch
4747
s3_upload_templates "${BUILDKITE_BRANCH}/"
4848

0 commit comments

Comments
 (0)