Skip to content

Commit

Permalink
Update dotnet example version
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 1, 2017
1 parent aa67295 commit c5e43f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions packaging/dotnet-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ Version numbers for the packages for .NET Core consist of three components:
It may be necessary to release more than one package for a libsodium version,
e.g., when adding support for a new platform or if a release contains a broken
binary. In this case, a package revision number is added as a fourth part to
the libsodium version, starting at `1`. For example, `1.0.14` is the initial
release of the package for libsodium 1.0.14 and `1.0.14.5` is the fifth
the libsodium version, starting at `1`. For example, `1.0.15` is the initial
release of the package for libsodium 1.0.15 and `1.0.15.5` is the fifth
revision (sixth release) of that package.
* *pre-release label*
If a package is a pre-release, a label is appended to the version number in
`-preview-##` format where `##` is the number of the pre-release, starting at
`01`. For example, `1.0.14-preview-01` is the first pre-release of the package
for libsodium 1.0.14 and `1.0.14.5-preview-02` the second pre-release of the
fifth revision of the package for libsodium 1.0.14.
`01`. For example, `1.0.15-preview-01` is the first pre-release of the package
for libsodium 1.0.15 and `1.0.15.5-preview-02` the second pre-release of the
fifth revision of the package for libsodium 1.0.15.


**Making a release**
Expand Down
14 changes: 7 additions & 7 deletions packaging/dotnet-core/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,13 @@ def main(args):
print(' python3 prepare.py <version>')
print()
print('Examples:')
print(' python3 prepare.py 1.0.14-preview-01')
print(' python3 prepare.py 1.0.14-preview-02')
print(' python3 prepare.py 1.0.14-preview-03')
print(' python3 prepare.py 1.0.14')
print(' python3 prepare.py 1.0.14.1-preview-01')
print(' python3 prepare.py 1.0.14.1')
print(' python3 prepare.py 1.0.14.2')
print(' python3 prepare.py 1.0.15-preview-01')
print(' python3 prepare.py 1.0.15-preview-02')
print(' python3 prepare.py 1.0.15-preview-03')
print(' python3 prepare.py 1.0.15')
print(' python3 prepare.py 1.0.15.1-preview-01')
print(' python3 prepare.py 1.0.15.1')
print(' python3 prepare.py 1.0.15.2')
return 1

version = Version(m.group(2), m.group(0))
Expand Down
2 changes: 1 addition & 1 deletion packaging/nuget/package.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These values are populated into the package.gsl templates by package.bat. -->
<!-- The target attribute controls path and file name only, id controls package naming. -->
<package id="libsodium_vc120" target="libsodium" version = "1.0.14.0" pathversion="1_0_14_0" platformtoolset="v120" />
<package id="libsodium_vc120" target="libsodium" version = "1.0.15.0" pathversion="1_0_15_0" platformtoolset="v120" />

0 comments on commit c5e43f4

Please sign in to comment.