Commit 3c0e57e7 authored by Dominik Charousset's avatar Dominik Charousset

Changed version to 0.9.2

parent bec533f7
cmake_minimum_required(VERSION 2.8)
project(cppa C CXX)
set(LIBCPPA_VERSION_MAJOR 0)
set(LIBCPPA_VERSION_MINOR 9)
set(LIBCPPA_VERSION_PATCH 1)
# extract version from VERSION file
file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" VERSION LIMIT_COUNT 1)
string(REPLACE "." " " version_numbers ${VERSION})
separate_arguments(version_numbers)
list(GET version_numbers 0 LIBCPPA_VERSION_MAJOR)
list(GET version_numbers 1 LIBCPPA_VERSION_MINOR)
list(GET version_numbers 2 LIBCPPA_VERSION_PATCH)
# prohibit in-source builds
if ("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
......
Version 0.9.2
-------------
__2014_05_20__
- Fixed memory leak in memory cache
- Fixed MinGW build on Windows 64
- Fixed performance issue with prioritizing policy
- Handle invalid_actor in sync send + anon_send_exit
- Give more opportunities for work stealing
- Fixed issue with serialization of empty any tuples
- Fixed initialization order in broker
Version 0.9.1
-------------
__2014_06_05__
__2014_05_06__
- Fixed build on GCC
......
......@@ -31,7 +31,7 @@ PROJECT_NAME = libcppa
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = "Version 0.9.1"
PROJECT_NUMBER = @VERSION@
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
......
......@@ -54,7 +54,7 @@
* whereas each number is a two-digit decimal number without
* leading zeros (e.g. 900 is version 0.9.0).
*/
#define CPPA_VERSION 901
#define CPPA_VERSION 902
#define CPPA_MAJOR_VERSION (CPPA_VERSION / 100000)
#define CPPA_MINOR_VERSION ((CPPA_VERSION / 100) % 1000)
......
No preview for this file type
......@@ -45,7 +45,7 @@
%BEGIN LATEX
\texttt{\huge{\textbf{libcppa}}}\\~\\A C++ library for actor programming\\~\\~\\~\\%
%END LATEX
User Manual\\\normalsize{\texttt{libcppa} version 0.9.1}\vfill}
User Manual\\\normalsize{\texttt{libcppa} version 0.9.2}\vfill}
\author{Dominik Charousset}
......
#!/bin/bash
command -v pdf2txt.py &>/dev/null
if [ $? -ne 0 ]; then
echo "pdf2txt.py not found"
......@@ -32,21 +34,18 @@ function expand_version_string {
echo "$1.0" | awk 'BEGIN {FS="."};{printf $1 "." $2 "." $3}';
}
CMAKE_VERSION=$(grep -oE "set\(LIBCPPA_VERSION_(MAJOR|MINOR|PATCH) [0-9]+" CMakeLists.txt | awk '{ if (NR > 1) printf "." ; printf $2 } END { printf "\n" }')
CMAKE_VERSION=$(cat VERSION)
MANUAL_VERSION=$(echo "$PDF1" | grep -oE "version [0-9]+(\.[0-9]+){1,2}" | awk '{print $2}')
CHANGELOG_VERSION=$(head -n1 ChangeLog.md | awk '{print $2}')
DOCU_VERSION=$(grep -oE "Version [0-9]+(\.[0-9]+){1,2}" Doxyfile.in | awk '{print $2}')
MANUAL_VERSION=$(expand_version_string "$MANUAL_VERSION")
CHANGELOG_VERSION=$(expand_version_string "$CHANGELOG_VERSION")
DOCU_VERSION=$(expand_version_string "$DOCU_VERSION")
echo "libcppa version in CMakeLists.txt is $CMAKE_VERSION"
echo "libcppa version in VERSION is $CMAKE_VERSION"
echo "libcppa version in manual.pdf is $MANUAL_VERSION"
echo "libcppa version in ChangeLog is $CHANGELOG_VERSION"
echo "libcppa version in documentation is $DOCU_VERSION"
if [ "$CMAKE_VERSION" == "$MANUAL_VERSION" ] && [ "$CMAKE_VERSION" == "$CHANGELOG_VERSION" ] && [ "$CMAKE_VERSION" == "$DOCU_VERSION" ]; then
if [ "$CMAKE_VERSION" == "$MANUAL_VERSION" ] && [ "$CMAKE_VERSION" == "$CHANGELOG_VERSION" ] ; then
echo "no errors found"
else
echo "versions differ"
......
#!/bin/bash
VERSION=$(grep -oE "set\(LIBCPPA_VERSION_(MAJOR|MINOR|PATCH) [0-9]+" CMakeLists.txt | awk '{ if (NR > 1) printf "." ; printf $2 } END { printf "\n" }')
VERSION=$(cat VERSION)
git tag -a "V$VERSION" -m "version $VERSION"
git push --tags
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment