Skip to content

Commit 0a2cac4

Browse files
authored
Combine changelogs for SourceGenerator and Main, they are always in sync anyway (#8)
* Combine changelogs for SourceGenerator and Main, they are always in sync anyway
1 parent b4603c7 commit 0a2cac4

4 files changed

Lines changed: 4 additions & 34 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: ✏️ Set source generator version from CHANGELOG.md
2929
shell: pwsh
30-
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath XrmPluginCore.SourceGenerator/CHANGELOG.md -CsprojPath XrmPluginCore.SourceGenerator/XrmPluginCore.SourceGenerator.csproj
30+
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath XrmPluginCore/CHANGELOG.md -CsprojPath XrmPluginCore.SourceGenerator/XrmPluginCore.SourceGenerator.csproj
3131

3232
- name: ✏️ Set implementations version from CHANGELOG.md
3333
shell: pwsh

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: ✏️ Set source generator version from CHANGELOG.md
3434
shell: pwsh
35-
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath XrmPluginCore.SourceGenerator/CHANGELOG.md -CsprojPath XrmPluginCore.SourceGenerator/XrmPluginCore.SourceGenerator.csproj
35+
run: ./scripts/Set-VersionFromChangelog.ps1 -ChangelogPath XrmPluginCore/CHANGELOG.md -CsprojPath XrmPluginCore.SourceGenerator/XrmPluginCore.SourceGenerator.csproj
3636

3737
- name: ✏️ Set implementations version from CHANGELOG.md
3838
shell: pwsh

CLAUDE.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,8 @@ Registration is automated using XrmSync (https://github.com/delegateas/XrmSync),
396396
## Versioning
397397

398398
Version numbers are managed through CHANGELOG.md files:
399-
- `XrmPluginCore/CHANGELOG.md` for the main library
399+
- `XrmPluginCore/CHANGELOG.md` for the main library and source generator (both use the same version)
400400
- `XrmPluginCore.Abstractions/CHANGELOG.md` for abstractions
401-
- `XrmPluginCore.SourceGenerator/CHANGELOG.md` for the source generator. When updating the source generator version, the main library and version should also be updated to match.
402401

403402
The `Set-VersionFromChangelog.ps1` script updates .csproj files from CHANGELOG during CI/CD.
404403

@@ -408,9 +407,8 @@ When developing or debugging the source generator, use the following workflow to
408407

409408
### Development Loop
410409

411-
1. **Update CHANGELOG versions** - Add a preview version to both:
410+
1. **Update CHANGELOG version** - Add a preview version to:
412411
- `XrmPluginCore/CHANGELOG.md`
413-
- `XrmPluginCore.SourceGenerator/CHANGELOG.md`
414412

415413
Example: `### v1.2.3-preview.1 - 28 November 2025`
416414

XrmPluginCore.SourceGenerator/CHANGELOG.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)