Skip to content

Release 3.0.0 and publish on version tags - #7

Merged
Isma-L154 merged 1 commit into
mainfrom
chore/release-3.0.0
Sep 22, 2026
Merged

Isma-L154 merged 1 commit into
mainfrom
chore/release-3.0.0

Conversation

@Isma-L154

Copy link
Copy Markdown
Owner

Closes #6

Why

The cleanup merged in #5 was never published. The release workflow re-packed the fixed version 2.0.0 on every push to main, the feed returned 409 Conflict for all four packages, and --skip-duplicate let the job pass anyway.

Changes

  • Version: 3.0.0 in src/Directory.Build.props. The Deep clean: dependency hygiene, PII leak, fail-fast config, remove reflection mapper #3 changes break the published 2.0.0 API.
  • Release trigger: release.yml now runs on vX.Y.Z tags instead of every push to main. It fails when the tag does not match the project version.
  • Duplicate versions: --skip-duplicate was removed, so republishing an existing version fails the job.
  • Symbol packages: the push uses --no-symbols, because GitHub Packages does not accept .snupkg files.
  • README: documents the release steps.

After merge

Tag the merge commit with v3.0.0 and push the tag to publish.

Validation

  • Build: 0 warnings.
  • Tests: 12/12 passed.
  • dotnet msbuild -getProperty:Version returns 3.0.0 locally, which matches the tag check.

The 2.0.0 packages were already on the feed, so the #3 cleanup was never
published: every push to main re-packed 2.0.0 and --skip-duplicate turned
the 409 conflicts into a passing job.

- Bump to 3.0.0; the #3 changes break the published 2.0.0 API.
- Publish on vX.Y.Z tags and fail when the tag does not match the version
  in Directory.Build.props, which stays the single source of truth.
- Drop --skip-duplicate so republishing an existing version fails loudly.
- Skip symbol packages on push; GitHub Packages does not accept .snupkg.
- Document the release steps in the README.

Closes #6
@Isma-L154
Isma-L154 merged commit 509adf1 into main Sep 22, 2026
3 checks passed
@Isma-L154
Isma-L154 deleted the chore/release-3.0.0 branch September 22, 2026 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release 3.0.0 and make publishing explicit and loud

1 participant