From 1bb0d0a62e07e5f1fd50092db2290e6a08e666b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Putier?= <1064551+sputier@users.noreply.github.com> Date: Thu, 19 Nov 2026 07:07:33 +0100 Subject: [PATCH] Validate the package against the published 0.1.0 --- RELEASING.md | 8 +++++--- src/Eleris.RawNet/Eleris.RawNet.csproj | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index 1c3b623..1d2b09c 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -50,7 +50,9 @@ its symbols (`.snupkg`) and creates the GitHub release with the notes of the cha A published version cannot be replaced. It can only be *unlisted* on nuget.org, so a mistake costs a new version number. -## After the first publication +## API compatibility -To protect later versions against an accidental API break, set `` in the project to the last -published version: package validation then compares the new package with it. +`` in the project is the last published version: package validation compares each new +package with it and fails the pack on an API break (for example removing a public member). After publishing a version, set it to that +version in the next change; for a deliberate break before 1.0, raise the version number accordingly and set the baseline once +the new version is published. diff --git a/src/Eleris.RawNet/Eleris.RawNet.csproj b/src/Eleris.RawNet/Eleris.RawNet.csproj index cb291f0..e47b1ac 100644 --- a/src/Eleris.RawNet/Eleris.RawNet.csproj +++ b/src/Eleris.RawNet/Eleris.RawNet.csproj @@ -25,6 +25,7 @@ true snupkg true + 0.1.0