Skip to content

Add Version tag to DurableExecution.Analyzers csproj#2455

Merged
GarrettBeatty merged 1 commit into
devfrom
gcbeatty/durable-analyzers-version
Jul 2, 2026
Merged

Add Version tag to DurableExecution.Analyzers csproj#2455
GarrettBeatty merged 1 commit into
devfrom
gcbeatty/durable-analyzers-version

Conversation

@GarrettBeatty

Copy link
Copy Markdown
Contributor

Issue

The Create Release PR workflow fails at the Increment Version step:

The project 'Amazon.Lambda.DurableExecution' does not have a 'Version' tag. Add a 'Version' tag and run the tool again.

Root cause

In .autover/autover.json, Amazon.Lambda.DurableExecution is a multi-path group:

"Name": "Amazon.Lambda.DurableExecution",
"Paths": [
  ".../Amazon.Lambda.DurableExecution.csproj",           // has <Version>0.1.2-preview</Version>
  ".../Amazon.Lambda.DurableExecution.Analyzers.csproj"  // had no <Version>
]

The .Analyzers project (added in #2443) was grouped here but never got a <Version> tag. AutoVer requires one on every path in a group, so autover version aborts. The error names the group, not the offending file, which is why it's misleading — the main csproj does have a version.

Fix

Add <Version>0.1.2-preview</Version> to Amazon.Lambda.DurableExecution.Analyzers.csproj to match its group's main package. This mirrors the existing Amazon.Lambda.Annotations group, where both Annotations and .SourceGenerator carry the same version.

No change file is included; the analyzer is bundled inside the existing DurableExecution package (IsPackable=false) and this is a build-config fix, not a shipped behavior change.

The Analyzers project is grouped with Amazon.Lambda.DurableExecution in
.autover/autover.json. AutoVer requires a <Version> tag on every path in a
group, so 'autover version' failed the Create Release PR workflow with
'The project Amazon.Lambda.DurableExecution does not have a Version tag.'
Add <Version>0.1.2-preview</Version> to match the group's main package.
@GarrettBeatty GarrettBeatty requested a review from a team as a code owner July 1, 2026 22:35
@GarrettBeatty GarrettBeatty added the Release Not Needed Add this label if a PR does not need to be released. label Jul 1, 2026
@GarrettBeatty GarrettBeatty requested a review from a team as a code owner July 1, 2026 22:35
@GarrettBeatty GarrettBeatty requested review from normj and philasmar July 1, 2026 22:35
@GarrettBeatty GarrettBeatty added the Release Not Needed Add this label if a PR does not need to be released. label Jul 1, 2026
@GarrettBeatty GarrettBeatty merged commit f863d59 into dev Jul 2, 2026
7 checks passed
@dscpinheiro dscpinheiro deleted the gcbeatty/durable-analyzers-version branch July 2, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Release Not Needed Add this label if a PR does not need to be released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants