Skip to content

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

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

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

@kinyoklion kinyoklion commented Jun 8, 2026

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


Note

Low Risk
Release automation and project metadata only; no runtime or API behavior changes.

Overview
Fixes release-please so the NuGet package version bumps on each release.

release-please-config.json now lists src/LaunchDarkly.Logging/LaunchDarkly.Logging.csproj under extra-files, and the csproj wraps <Version> with x-release-please-start-version / x-release-please-end markers (same pattern as PROVENANCE.md). Without this, releases could keep building and pushing 2.0.0, causing dotnet nuget push failures.

Reviewed by Cursor Bugbot for commit 4f73aba. Bugbot is set up for automated code reviews on this repo. Configure here.

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
@kinyoklion kinyoklion marked this pull request as ready for review June 11, 2026 16:46
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