sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Set release to `-dev` after publishing

Open mattjohnsonpint opened this issue 2 years ago • 1 comments

With sentry-cli, we don't want to accidentally associate release info for work-in-progress with the last shipped release. Currently, that would happen because we keep the <Version> in Directory.Build.props untouched until publishing each release.

Add a small post-release script to add a -dev tag.

mattjohnsonpint avatar Feb 06 '23 22:02 mattjohnsonpint

The recent (.NET 8) default addition of the commit hash as part of AssemblyInformationalVersion might help address this, maybe the sentry SDK could recreate this format for older .NET SDKs/Framework

ericsampson avatar Jun 21 '24 13:06 ericsampson

@jamescrosswell with https://github.com/getsentry/sentry-dotnet/pull/3462 merged, we're going to run into this issue, right?

bitsandfoxes avatar Aug 01 '24 13:08 bitsandfoxes

@jamescrosswell with #3462 merged, we're going to run into this issue, right?

Very likely yes. At least now with SetCommits we should get specific commits associated with each release as well but it would still be misleading to associate all our dev work on release N + 1 with release N... so I think Matt's suggestion of adding some suffix like -dev or -next.wip or something makes sense.

jamescrosswell avatar Aug 01 '24 22:08 jamescrosswell