File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -883,6 +883,10 @@ functions:
883
883
shell: bash
884
884
script: |
885
885
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
886
890
ls -lh dist/
887
891
if [ x"${triggered_by_git_tag}" == x"" ]; then
888
892
tag=$(git describe --tags --always --dirty)
@@ -893,14 +897,11 @@ functions:
893
897
# Set the release publisher
894
898
submitter=$(node -p 'JSON.parse(fs.readFileSync("packages/cli-repl/package.json")).releasePublisher')
895
899
if [ -z "$submitter" ] || [ "$submitter" == "undefined" ] || [ "$submitter" == "null" ]; then
900
+ echo "Using evergreen author as submitter"
896
901
submitter="${EVERGREEN_AUTHOR}"
897
902
fi
898
903
899
904
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
-
904
905
905
906
for file in src/dist/* ; do
906
907
if [ -f "$file" ]; then
You can’t perform that action at this time.
0 commit comments