From 5429a418d6ebe87613395d196501ffcfb61fe3be Mon Sep 17 00:00:00 2001 From: xcv58 Date: Sun, 15 Oct 2017 21:25:42 -0700 Subject: [PATCH] Use -f, --ignore-case for sort in CI --- .circleci/config.yml | 4 ++-- .travis.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 523d14ec..f630c208 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,8 +17,8 @@ jobs: - run: yarn deploy - run: ls -l build/* build.zip - run: sha256sum build.zip | tee SHA256SUMS.txt - - run: find build -type f -exec ls {} \; | sort | xargs sha256sum | tee -a SHA256SUMS.txt - - run: find build -type f -exec ls {} \; | sort | xargs cat | sha256sum | tee -a SHA256SUMS.txt + - run: find build -type f -exec ls {} \; | sort -f | xargs sha256sum | tee -a SHA256SUMS.txt + - run: find build -type f -exec ls {} \; | sort -f | xargs cat | sha256sum | tee -a SHA256SUMS.txt - run: mkdir dist && mv build.zip SHA256SUMS.txt dist - store_artifacts: path: dist diff --git a/.travis.yml b/.travis.yml index 4c8dcb52..d7df948f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,8 @@ script: - yarn deploy - ls -l build/* build.zip - sha256sum build.zip | tee SHA256SUMS.txt - - find build -type f -exec ls {} \; | sort | xargs sha256sum | tee -a SHA256SUMS.txt - - find build -type f -exec ls {} \; | sort | xargs cat | sha256sum | tee -a SHA256SUMS.txt + - find build -type f -exec ls {} \; | sort -f | xargs sha256sum | tee -a SHA256SUMS.txt + - find build -type f -exec ls {} \; | sort -f | xargs cat | sha256sum | tee -a SHA256SUMS.txt deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN