avrum/NuspecAutoUpdate

Prerelease dependencies is adding extra pre release tag new nuspec

Closed this issue · 7 comments

Let say I have package.config with
<package id="Test" version="1.0.7201-dev" targetFramework="net461" />

And nuspect with:
<dependency id="Test" version="[1.0.7201-dev]" />
On building the project my nuspec getting changed to below with extra "-dev"

<dependency id="TestFramework.Common" version="**[1.0.7201-dev-dev]**" />

avrum commented

Can you elaborate?
I'm not following the issue...

@avrum - My bad
XML input was not visible in my first comments. I have edited it now.

avrum commented

Ammm haven't heard about this "dev" addition to versions.
Are the nuget officially support this attribute for version?
Can you add a link that document that? I'll merge if it's officially support it :)

avrum commented

@ashishdawale20 that's great,
Thanks for the reference,
I'll merge your request

avrum commented

Merged

avrum commented

Please add yourself in the readme file to as a contributer, and ill merge it too