-
Notifications
You must be signed in to change notification settings - Fork 15
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
Better way to control/sync versions #1
Comments
Reported to the maven release plugin project, here: https://issues.apache.org/jira/browse/MRELEASE-962 |
Looking at the new .csproj format, it seems that the |
Could you please clarify this a bit? I'm also interested in controlling the version of the resulting NuGet package from the pom.xml, but I don't see how this could be accomplished right now. |
Well the main issue here was that if your solution had multiple projects in it, and you wanted to keep the project versions in sync. With |
So you're talking about not having to update the versions of your own projects that include each other? Does propagating the version from the pom.xml during a Maven build / release (whatever) to the |
Ah right, it's actually not in the examples. We should create an example. But here's a quick snippet for ya:
A few notes on this snippet:
|
@kaspersorensen I'm not sure if this issue is about versioning of the dotnet application or something different, but I've noticed the following. If I use Unfortunately I have no experience with Edit: I wrote before that I didn't use any version in my For now, I've worked around it by using an environment variable
And then in my Maven
|
I like both approaches. And as a plugin I think we should support all of the approaches, and have an example for them too. |
Right now the pom.xml version gets inserted as a "suffix" instead of the * symbol in project.json.
Ideally the pom.xml version should somehow dictate the version that gets published by dotnet/nuget/project.json.
The text was updated successfully, but these errors were encountered: