-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Release build config #6965
Release build config #6965
Conversation
bc97a0a
to
c66c063
Compare
@Azure/azure-sdk-eng |
df8f81a
to
d45292b
Compare
d45292b
to
e927bcd
Compare
/azp run net - client - ci |
Azure Pipelines failed to run 1 pipeline(s). |
a99f192
to
aec393d
Compare
aec393d
to
7d01f9e
Compare
BuildConfiguration: '' | ||
${{ if eq(variables['System.TeamProject'], 'internal') }}: | ||
BuildConfiguration: 'Release' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested that this second assignment actually works in an internal build?
skipComponentGovernanceDetection: true | ||
BuildConfiguration: '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will want this to be set to Debug and not empty by default. Otherwise we will not have the Configuration set correctly as we cannot default it to Debug if you set the Configuration property as a global property via the command line as those cannot be overridden in the props file.
skipComponentGovernanceDetection: true | ||
${{ if ne(variables['System.TeamProject'], 'internal') }}: | ||
BuildConfiguration: '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree this approach is likely better then the other one. However did you seem my comment about setting this to Debug and not empty? I think we should always set it to either Debug or Release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I can set it to debug. However it works the way it is right now in both playground and internal projects
85e6b86
to
67e2cd2
Compare
Set Build Configuration to release from the net - client pipeline with option to change the setting at queue time.