Skip to content
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

Output prints 'Updating version number to be 'x.x.x.x' even when not updating the version number #5

Open
PandaWood opened this issue Oct 31, 2021 · 0 comments

Comments

@PandaWood
Copy link

PandaWood commented Oct 31, 2021

Thanks for this, I just thought it was worth mentioning my confusion when I ran this line below...
That the output says it's updated the version number when the command does not ask for it.

I'm either confused in my state of debugging or suggesting that the version number shouldn't be updated unless the relevant updates are asked for (-IncrementProjectFilesRevision and -UpdateMinimumRequiredVersionToCurrentVersion )

This is useful for me, as I'm doing 32 and 64 bit releases, so on the command line it's critical that I only update the version once, so my 64-bit script needs to still update the URLs but not the version.

& .\Set-ProjectFilesClickOnceVersion.ps1 -ProjectFilePath '%MyProject%' -InstallUrl '%InstallUrl%' -PublishUrl '%PublishUrl%'"

That the output mentioned 3 updates instead of 2
Updating PublishUrl to be ...
Updating Install Url to be ...
Updating version number to be 'x.x.x.21' <- didn't expect this when didn't ask for it, but I may be confused

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

No branches or pull requests

1 participant