Skip to content

fix: add release-please version markers to csproj#21

Draft
kinyoklion wants to merge 1 commit into
mainfrom
devin/1780959591-fix-release-version-management
Draft

fix: add release-please version markers to csproj#21
kinyoklion wants to merge 1 commit into
mainfrom
devin/1780959591-fix-release-version-management

Conversation

@kinyoklion

Copy link
Copy Markdown
Member

Summary

release-please doesn't update the <Version> in the .csproj because the file is missing from extra-files and lacks x-release-please-start-version / x-release-please-end markers. This means the NuGet package would be built with the old version on every release, and dotnet nuget push would fail since that version already exists on NuGet.

Adds the csproj to extra-files in release-please-config.json and wraps the <Version> tag with release-please markers — matching how the NLog and MS logging adapters are configured.

Link to Devin session: https://app.devin.ai/sessions/746778111964463bbcfa2ddded90cb85
Requested by: @kinyoklion

The .csproj Version tag was not managed by release-please because:
1. The file was missing from extra-files in release-please-config.json
2. The Version tag lacked x-release-please-start-version/end markers

Without this, the NuGet package would be built with the old version
on every release, causing the publish to fail since that version
already exists on NuGet.

Co-Authored-By: rlamb@launchdarkly.com <4955475+kinyoklion@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot added the devin-pr PR created by Devin label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devin-pr PR created by Devin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant