Skip to content

Commit 614716b

Browse files
committed
move set -x
1 parent a0cbde1 commit 614716b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.evergreen/evergreen.yml.in

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,10 @@ functions:
883883
shell: bash
884884
script: |
885885
set -e
886+
echo "X-PAPERTRAIL-KEY-ID: ${PAPERTRAIL_KEY_ID}" > .papertrail.headers
887+
echo "X-PAPERTRAIL-SECRET-KEY: ${PAPERTRAIL_SECRET_KEY}" >> .papertrail.headers
888+
889+
set -x
886890
ls -lh dist/
887891
if [ x"${triggered_by_git_tag}" == x"" ]; then
888892
tag=$(git describe --tags --always --dirty)
@@ -893,14 +897,11 @@ functions:
893897
# Set the release publisher
894898
submitter=$(node -p 'JSON.parse(fs.readFileSync("packages/cli-repl/package.json")).releasePublisher')
895899
if [ -z "$submitter" ] || [ "$submitter" == "undefined" ] || [ "$submitter" == "null" ]; then
900+
echo "Using evergreen author as submitter"
896901
submitter="${EVERGREEN_AUTHOR}"
897902
fi
898903

899904
echo "Setting version for papertrail to $tag, with product ${product} and submitter ${submitter}"
900-
901-
echo "X-PAPERTRAIL-KEY-ID: ${PAPERTRAIL_KEY_ID}" > .papertrail.headers
902-
echo "X-PAPERTRAIL-SECRET-KEY: ${PAPERTRAIL_SECRET_KEY}" >> .papertrail.headers
903-
904905

905906
for file in src/dist/* ; do
906907
if [ -f "$file" ]; then

0 commit comments

Comments
 (0)