This repository was archived by the owner on Jan 23, 2023. It is now read-only.
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.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Any reason to not just call it run.ps1?
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'm a little concerned someone would expect it to work like
run.cmd
, like using theconfig.json
settings. Making a more general name sounds reasonable, but ideally I'd like something that somehow gets across that it's "only" msbuild, and that it runs on .NET Core rather than full framework.There's also a kind of symmetry that exists if we use this name, since both release/1.0.0 and release/1.1.0 will have both UpdatePublishedVersions.ps1 and UpdateDependencies.ps1, where release/1.0.0's are plain old powershell scripts and release/1.1.0's both use MSBuild.
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'm find with with not making it attractive to use but the name is definitely miss-leading. Should we at least have it have the correct project to build or do you plan to use it as a wrapper for other dotnet cli msbuild invocations.
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.
Hmm, good point--since we have to make subscriptions.json changes anyway, I should move the project and target here. I don't plan on using this script for anything general.