diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a2c5f17b..dd379005a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -386,7 +386,7 @@ endif() set(CPACK_PACKAGE_NAME "GmSSL") set(CPACK_PACKAGE_VENDOR "GmSSL develop team") -set(CPACK_PACKAGE_VERSION "3.1.1-Dev") +set(CPACK_PACKAGE_VERSION "3.1.1-PR1") set(CPACK_RPM_PACKAGE_GROUP "GmSSL Group") set(CPACK_PACKAGE_VENDOR "GmSSL Vendor") diff --git a/include/gmssl/version.h b/include/gmssl/version.h index 8eb37082a..71ac63ba7 100644 --- a/include/gmssl/version.h +++ b/include/gmssl/version.h @@ -18,15 +18,10 @@ extern "C" { #endif -/* -Version Public API - - gmssl_version_num - gmssl_version_str -*/ +// Also update CPACK_PACKAGE_VERSION in CMakeLists.txt #define GMSSL_VERSION_NUM 30101 -#define GMSSL_VERSION_STR "GmSSL 3.1.1 Dev" +#define GMSSL_VERSION_STR "GmSSL 3.1.1 PR1" _gmssl_export int gmssl_version_num(void); _gmssl_export const char *gmssl_version_str(void);