File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,9 @@ before_deploy:
119119 - mkdir -p deploy/$TRAVIS_COMMIT
120120 - >
121121 if [ "$TRAVIS_OS_NAME" == "osx" ]; then
122- cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT &&
123- find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'shasum -a 256 -b "{}" > "{}.sha256"' \;;
122+ cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
124123 else
125- cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT &&
126- find "deploy/$TRAVIS_COMMIT" -maxdepth 1 -type f -exec sh -c 'sha256sum -b "{}" > "{}.sha256"' \;;
124+ cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
127125 fi
128126
129127deploy :
Original file line number Diff line number Diff line change @@ -131,9 +131,6 @@ before_deploy:
131131 - ps : |
132132 New-Item -Path deploy -ItemType directory
133133 Get-ChildItem -Path build\dist -Filter '*.tar.gz' | Move-Item -Destination deploy
134- Get-FileHash .\deploy\* | ForEach-Object {
135- [io.file]::WriteAllText($_.Path + ".sha256", $_.Hash.ToLower() + "`n")
136- }
137134 Get-ChildItem -Path deploy | Foreach-Object {
138135 Push-AppveyorArtifact $_.FullName -FileName ${env:APPVEYOR_REPO_COMMIT}/$_
139136 }
@@ -147,7 +144,7 @@ deploy:
147144 bucket : rust-lang-ci
148145 set_public : true
149146 region : us-east-1
150- artifact : /.*\.( tar.gz|sha256) /
147+ artifact : /.*\.tar.gz/
151148 folder : rustc-builds
152149 on :
153150 branch : auto
You can’t perform that action at this time.
0 commit comments