about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-01-18 16:10:05 -0800
committerAlex Crichton <alex@alexcrichton.com>2017-01-18 16:10:05 -0800
commitc457b819d7ef4749bd20a1d6ada93d1fdc59bf59 (patch)
treef8df4f633e4fc09acdbc9d55879077c5405c0dc6
parentc07a6ae77cd4ceb3cf591d34c5608ca91d1f75d4 (diff)
downloadrust-c457b819d7ef4749bd20a1d6ada93d1fdc59bf59.tar.gz
rust-c457b819d7ef4749bd20a1d6ada93d1fdc59bf59.zip
travis: Stop uploading sha256 files
We'll generate these later in the build process and otherwise they could just
cause spurious failures with files overwriting one another.
-rw-r--r--.travis.yml6
-rw-r--r--appveyor.yml5
2 files changed, 3 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index abd0a8fe346..83f5691c746 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -119,11 +119,9 @@ before_deploy:
   - mkdir -p deploy/$TRAVIS_COMMIT
   - >
       if [ "$TRAVIS_OS_NAME" == "osx" ]; then
-          cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT &&
-          find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'shasum -a 256 -b "{}" > "{}.sha256"' \;;
+          cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
       else
-          cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT &&
-          find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'sha256sum -b "{}" > "{}.sha256"' \;;
+          cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
       fi
 
 deploy:
diff --git a/appveyor.yml b/appveyor.yml
index 346ef0d8faa..9f3e9d703f1 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -131,9 +131,6 @@ before_deploy:
   - ps: |
         New-Item -Path deploy -ItemType directory
         Get-ChildItem -Path build\dist -Filter '*.tar.gz' | Move-Item -Destination deploy
-        Get-FileHash .\deploy\* | ForEach-Object {
-          [io.file]::WriteAllText($_.Path + ".sha256", $_.Hash.ToLower() + "`n")
-        }
         Get-ChildItem -Path deploy | Foreach-Object {
           Push-AppveyorArtifact $_.FullName -FileName ${env:APPVEYOR_REPO_COMMIT}/$_
         }
@@ -147,7 +144,7 @@ deploy:
     bucket: rust-lang-ci
     set_public: true
     region: us-east-1
-    artifact: /.*\.(tar.gz|sha256)/
+    artifact: /.*\.tar.gz/
     folder: rustc-builds
     on:
       branch: auto