mirror of
https://github.com/servo/servo.git
synced 2025-10-03 18:19:14 +01:00
Package macos/Linux builds under release/debug dirs
This commit updates the 'mach package' command to generate output under the target/release and target/debug directories when run on macOS and Linux. etc/ci/upload_nightly.sh has also been updated to upload packages from the release/debug directories.
This commit is contained in:
parent
d4e986023a
commit
6a7fb6cd2b
2 changed files with 9 additions and 9 deletions
|
@ -28,7 +28,7 @@ upload() {
|
|||
|
||||
|
||||
main() {
|
||||
if [[ "${#}" != 1 ]]; then
|
||||
if (( "${#}" != 1 )); then
|
||||
usage >&2
|
||||
return 1
|
||||
fi
|
||||
|
@ -41,13 +41,13 @@ main() {
|
|||
package=target/arm-linux-androideabi/release/*."${extension}"
|
||||
elif [[ "${platform}" == "linux" ]]; then
|
||||
extension=tar.gz
|
||||
package=target/*."${extension}"
|
||||
package=target/release/*."${extension}"
|
||||
elif [[ "${platform}" == "mac" ]]; then
|
||||
extension=dmg
|
||||
package=target/*."${extension}"
|
||||
package=target/release/*."${extension}"
|
||||
elif [[ "${platform}" == "macbrew" ]]; then
|
||||
extension=tar.gz
|
||||
package=target/brew/*."${extension}"
|
||||
package=target/release/brew/*."${extension}"
|
||||
elif [[ "${platform}" == "windows" ]]; then
|
||||
extension=msi
|
||||
package=target/release/msi/*.msi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue