Skip to content

Commit

Permalink
Update for 1.0.0-beta.1
Browse files Browse the repository at this point in the history
We've added a new macro, NNG_RELEASE_SUFFIX.  If this is not empty,
then the release should be considered a pre-release, with no specific
stability guarantees.
  • Loading branch information
gdamore committed May 18, 2018
1 parent 846c300 commit c13d790
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nng.c
Original file line number Diff line number Diff line change
Expand Up @@ -1695,5 +1695,5 @@ const char *
nng_version(void)
{
return (xstr(NNG_MAJOR_VERSION) "." xstr(NNG_MINOR_VERSION) "." xstr(
NNG_PATCH_VERSION));
NNG_PATCH_VERSION) NNG_RELEASE_SUFFIX);
}
5 changes: 3 additions & 2 deletions src/nng.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ extern "C" {
// may not necessarily match the ABI versions. Right now at
// version 0, you should not be making any forward compatibility
// assumptions.
#define NNG_MAJOR_VERSION 0
#define NNG_MINOR_VERSION 9
#define NNG_MAJOR_VERSION 1
#define NNG_MINOR_VERSION 0
#define NNG_PATCH_VERSION 0
#define NNG_RELEASE_SUFFIX "-beta.1" // if non-empty, this is a pre-release

// Maximum length of a socket address. This includes the terminating NUL.
// This limit is built into other implementations, so do not change it.
Expand Down

0 comments on commit c13d790

Please sign in to comment.