Skip to content

Commit 8944582

Browse files
committed
travis: Upload all artifacts in build/dist
Previously we only uploaded tarballs, but this modifies Travis/AppVeyor to upload everything. We shouldn't have anything else in there to worry about and otherwise we need to be sure to pick up pkg/msi/exe installers.
1 parent 1283c02 commit 8944582

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ before_deploy:
124124
- mkdir -p deploy/$TRAVIS_COMMIT
125125
- >
126126
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
127-
cp build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
127+
cp -r build/dist deploy/$TRAVIS_COMMIT;
128128
else
129-
cp obj/build/dist/*.tar.gz deploy/$TRAVIS_COMMIT;
129+
cp -r obj/build/dist deploy/$TRAVIS_COMMIT;
130130
fi
131131
132132
deploy:

appveyor.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ branches:
137137
before_deploy:
138138
- ps: |
139139
New-Item -Path deploy -ItemType directory
140-
Get-ChildItem -Path build\dist -Filter '*.tar.gz' | Move-Item -Destination deploy
140+
Get-ChildItem -Path build\dist | Move-Item -Destination deploy
141141
Get-ChildItem -Path deploy | Foreach-Object {
142142
Push-AppveyorArtifact $_.FullName -FileName ${env:APPVEYOR_REPO_COMMIT}/$_
143143
}
@@ -151,7 +151,7 @@ deploy:
151151
bucket: rust-lang-ci
152152
set_public: true
153153
region: us-east-1
154-
artifact: /.*\.tar.gz/
154+
artifact: /.*/
155155
folder: rustc-builds
156156
on:
157157
branch: auto

0 commit comments

Comments
 (0)