Skip to content

Change native artifact name to match Azure Build.#892

Merged
mattleibow merged 1 commit into
mono:masterfrom
danien:dev/change-externals-download-native-artifact-name
Jun 27, 2019
Merged

Change native artifact name to match Azure Build.#892
mattleibow merged 1 commit into
mono:masterfrom
danien:dev/change-externals-download-native-artifact-name

Conversation

@danien

@danien danien commented Jun 27, 2019

Copy link
Copy Markdown
Contributor

Description of Change

Changes the artifact name for the externals-download target from "native" to "native-default" to match the Azure Build.
This allows the Build Preparation instructions to work as documented instead of returning a 404 error.

Bugs Fixed

Changes

Changes the artifact name from "native" to "native-default" to match the Azure Build Pipeline.
Also some minor refactoring of local string constants for the output path.

Behavioral Changes

Since the unzipped folder is named "native-default", it is renamed back to "native" so the rest of the build scripts can still work.

PR Checklist

  • [ NA ] Has tests (if omitted, state reason in description)
  • [ Y ] Rebased on top of master at time of PR
  • [ Y ] Changes adhere to coding standard
  • [ NA ] Updated documentation

Changes the artifact name for the externals-download target from "native" to "native-default" to match the Azure Build.
This is in conjunction with mono#889 to allow anonymous access to the native-default Azure Build artifact.
Renames the unzipped folder back to "native" after downloading.

@mattleibow mattleibow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, all is looking really good. Hope to see more in the future 😉

Comment thread cake/BuildExternals.cake
throw new Exception ("Specify a build ID with --azureBuildId=<ID>");

var url = string.Format(AZURE_BUILD_URL, AZURE_BUILD_ID, "native");
var artifactName = "native-default";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using variables - wise move.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again for your help and for maintaining this project!

@mattleibow mattleibow merged commit 79fca80 into mono:master Jun 27, 2019
@mattleibow mattleibow added this to the v1.68.1 milestone Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How do I get the native binaries for a Managed-only build?

2 participants