New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Part of #13551 - Create packages under release/debug directories as appropriate #13845
Merged
bors-servo
merged 2 commits into
servo:master
from
leikahing:package-under-target-profile-dirs
Dec 10, 2016
+44
−36
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.
Loading status checks…
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.
- Loading branch information
commit 6a7fb6cd2b668a2da6d3abb909742948745ca058
| @@ -28,7 +28,7 @@ upload() { | ||
|
|
||
|
|
||
leikahing
Author
Contributor
|
||
| 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 | ||
ProTip!
Use n and p to navigate between commits in a pull request.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Keep this line to avoid diff noise and fit with the double newline between functions style.