diff --git a/BreakingChanges.md b/BreakingChanges.md index ad40d45f6..027768f00 100644 --- a/BreakingChanges.md +++ b/BreakingChanges.md @@ -1,7 +1,8 @@ # Breaking Changes -## Development HEAD +## v2403 +- Versioning scheme has been changed from `` to `` - Default build mode is no longer `SHARED` but `STATIC`. To build in shared mode, use the cmake option `BUILD_SHARED_LIBS` which we don't recommend anymore. Consider using `PHASAR_BUILD_DYNLIB` instead to build one big libphasar.so. - Build type `DebugSan` has been removed in favor of a new CMake option `PHASAR_ENABLE_SANITIZERS` that not only works in `Debug` mode. diff --git a/CMakeLists.txt b/CMakeLists.txt index 5669ead1c..2ddf030ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -550,7 +550,7 @@ configure_package_config_file( write_basic_package_version_file( ${CMAKE_CURRENT_BINARY_DIR}/phasarConfigVersion.cmake - VERSION 1.0.0 + VERSION 2403 COMPATIBILITY SameMajorVersion ) diff --git a/Config.cmake.in b/Config.cmake.in index 87b54bd0b..305cf04e2 100644 --- a/Config.cmake.in +++ b/Config.cmake.in @@ -1,4 +1,4 @@ -set(PHASAR_VERSION 1.0.0) +set(PHASAR_VERSION 2403) @PACKAGE_INIT@ set_and_check(PHASAR_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") diff --git a/Dockerfile b/Dockerfile index f5893f5a2..2bed11717 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM ubuntu:22.04 ARG LLVM_INSTALL_DIR="/usr/local/llvm-14" -LABEL Name=phasar Version=1.0.0 +LABEL Name=phasar Version=2403 RUN apt -y update && apt install bash sudo -y diff --git a/README.md b/README.md index 8e27e018a..44ea59d4d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![C++ Standard](https://img.shields.io/badge/C++_Standard-C%2B%2B17-blue.svg?style=flat&logo=c%2B%2B)](https://isocpp.org/) [![GitHub license](https://img.shields.io/badge/license-MIT-blueviolet.svg)](https://raw.githubusercontent.com/secure-software-engineering/phasar/master/LICENSE.txt) -Version 0323 +Version 2403 ## Secure Software Engineering Group diff --git a/githooks/pre-push b/githooks/pre-push index 2c0a6436f..6de881c12 100755 --- a/githooks/pre-push +++ b/githooks/pre-push @@ -5,7 +5,7 @@ local="$(git rev-parse --abbrev-ref HEAD)" if [ "$local" = "master" ] ; then -version="#define PHASAR_VERSION v" -version="${version}$(date +"%m%y")" -echo "${version}" > include/phasar/Config/Version.h + version="#define PHASAR_VERSION v" + version="${version}$(date +"%y%m")" + echo "${version}" > include/phasar/Config/Version.h fi diff --git a/include/phasar/Config/Version.h b/include/phasar/Config/Version.h index ba61df9c8..4f595ee96 100644 --- a/include/phasar/Config/Version.h +++ b/include/phasar/Config/Version.h @@ -1,6 +1,6 @@ #ifndef PHASAR_CONFIG_VERSION_H #define PHASAR_CONFIG_VERSION_H -#define PHASAR_VERSION v0323 +#define PHASAR_VERSION v2403 #endif