diff --git a/packaging/dotnet-core/README.md b/packaging/dotnet-core/README.md index d4d22074..66ec9703 100644 --- a/packaging/dotnet-core/README.md +++ b/packaging/dotnet-core/README.md @@ -19,8 +19,8 @@ The metadata for the NuGet package is located in `libsodium.props`. **Making a pre-release** -1. Run `python3 prepare.py 1.0.11-preview-01` to generate the `Makefile`. - `1.0.11` is the libsodium version number; `01` is the pre-release +1. Run `python3 prepare.py 1.0.12-preview-01` to generate the `Makefile`. + `1.0.12` is the libsodium version number; `01` is the pre-release number and needs to be incremented for each pre-release. 2. Take a look at the generated `Makefile`. It uses `sudo` a few times. 3. Run `make` to download and build the binaries and create the NuGet @@ -36,6 +36,6 @@ The metadata for the NuGet package is located in `libsodium.props`. **Making a release** -1. Run `python3 prepare.py 1.0.11` to generate the `Makefile`. +1. Run `python3 prepare.py 1.0.12` to generate the `Makefile`. The remaining steps are the same. diff --git a/packaging/dotnet-core/prepare.py b/packaging/dotnet-core/prepare.py index 00882546..e9f11eef 100644 --- a/packaging/dotnet-core/prepare.py +++ b/packaging/dotnet-core/prepare.py @@ -175,10 +175,10 @@ def main(args): print(' python3 prepare.py [-preview-##]') print() print('Examples:') - print(' python3 prepare.py 1.0.11-preview-01') - print(' python3 prepare.py 1.0.11-preview-02') - print(' python3 prepare.py 1.0.11-preview-03') - print(' python3 prepare.py 1.0.11') + print(' python3 prepare.py 1.0.12-preview-01') + print(' python3 prepare.py 1.0.12-preview-02') + print(' python3 prepare.py 1.0.12-preview-03') + print(' python3 prepare.py 1.0.12') return 1 version = Version(m.group(1), m.group(2))