Skip to content

Commit

Permalink
Bump version to v22.05 (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
seladb authored May 5, 2022
1 parent d2d03a0 commit 0aea8fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Common++/header/PcapPlusPlusVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
*/
namespace pcpp
{
#define PCAPPLUSPLUS_VERSION "21.11+"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "non-official release"
#define PCAPPLUSPLUS_VERSION "22.05"
#define PCAPPLUSPLUS_VERSION_OFFICIAL "official release"

#define PCAPPLUSPLUS_VERSION_FULL "v" PCAPPLUSPLUS_VERSION " (" PCAPPLUSPLUS_VERSION_OFFICIAL ")"

/**
* @return PcapPlusPlus current version, e.g: 21.11. Notice that for non-official releases (which were pulled from GitHub) the version will end with a '+'.
* For example: '21.11+' means non-official release but '21.11' means official release
* @return PcapPlusPlus current version, e.g: 22.05. Notice that for non-official releases (which were pulled from GitHub) the version will end with a '+'.
* For example: '22.05+' means non-official release but '22.05' means official release
*/
inline std::string getPcapPlusPlusVersion() { return PCAPPLUSPLUS_VERSION; }

/**
* @return PcapPlusPlus long version string which includes the version and info whether it's an official or non-official release. For example: "v21.11+ (non-official release)"
* or "v21.11 (official release)"
* @return PcapPlusPlus long version string which includes the version and info whether it's an official or non-official release. For example: "v22.05+ (non-official release)"
* or "v22.05 (official release)"
*/
inline std::string getPcapPlusPlusVersionFull() { return PCAPPLUSPLUS_VERSION_FULL; }

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Vcpkg port: <https://github.com/microsoft/vcpkg/tree/master/ports/pcapplusplus>
### Conan

```text
conan install pcapplusplus/21.11@
conan install "pcapplusplus/[>0]@" -u
```

The package in ConanCenter: <https://conan.io/center/pcapplusplus>
Expand Down

0 comments on commit 0aea8fe

Please sign in to comment.