Skip to content

Commit e648e0d

Browse files
ramses-tech-usernVxxbojackHaasmanmohhsharafsmirko-dev
committed
Oss release v1.2.1 created 2022-09-28-12-02
see CHANGELOG.md for details Original commit sha: c4aaa47af0f0645fe0becc367642daca9c8729b3 Co-authored-by: Askanaz Torosyan <[email protected]> Co-authored-by: Daniel Haas <[email protected]> Co-authored-by: Mohamed Sharaf-El-Deen <[email protected]> Co-authored-by: Mirko Sova <[email protected]> Co-authored-by: Tobias Hammer <[email protected]> Co-authored-by: Violin Yanev <[email protected]>
1 parent db6379f commit e648e0d

File tree

5 files changed

+34
-21
lines changed

5 files changed

+34
-21
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
**FIXED**
1010

11+
# v1.2.1
12+
13+
**FIXED**
14+
15+
* Upgrade ramses from 27.0.122 to 27.0.125 (patchfix)
16+
1117
# v1.2.0
1218

1319
**Features**

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ cmake_minimum_required(VERSION 3.13)
1515

1616
set(RLOGIC_VERSION_MAJOR 1)
1717
set(RLOGIC_VERSION_MINOR 2)
18-
set(RLOGIC_VERSION_PATCH 0)
18+
set(RLOGIC_VERSION_PATCH 1)
1919

2020
set(RLOGIC_VERSION ${RLOGIC_VERSION_MAJOR}.${RLOGIC_VERSION_MINOR}.${RLOGIC_VERSION_PATCH})
2121
set(ramses-logic_VERSION "${RLOGIC_VERSION}" CACHE STRING "Ramses Logic version" FORCE)

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,15 @@ Prefer to learn by example? Have a look at our [self-contained example snippets]
3232

3333
# Version matrix
3434

35-
|Logic | Included Ramses version | Minimum required Ramses version | Binary file compatibility |
36-
|---------|-------------------------------|------------------------------------|------------------------------|
35+
The following matrix explains which versions of Ramses Logic are compatible with which versions of Ramses, and also
36+
to what extent binary files are supported. Read the table like this: `Logic` version **X** should be used with
37+
Ramses version **Y** (included Ramses version). If you need older Ramses, it must be at least **Z**
38+
(Minimum required Ramses version) - but keep in mind we don't test all combinations. You can also load
39+
existing files exported with Logic Engine version **W** or newer (Binary file compatibility).
40+
41+
|Logic | Included Ramses version | Minimum required Ramses version | Binary file compatibility |
42+
|----------|-------------------------------|------------------------------------|------------------------------|
43+
|v1.2.1 | 27.0.125 | 27.0.102 | >= 1.0.0, F-Levels 01 - 03 |
3744
|v1.2.0 | 27.0.122 | 27.0.102 | >= 1.0.0, F-Levels 01 - 03 |
3845
|v1.1.x | 27.0.121 | 27.0.102 | >= 1.0.0, F-Levels 01, 02 |
3946
|v1.0.x | 27.0.119 | 27.0.102 | >= 1.0.0 |

ci/scripts/check_versions.sh

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,49 +10,49 @@
1010

1111
set -e
1212

13-
usage() { echo "Usage: $0 -t <tag> -r <root>]" 1>&2; exit 1; }
13+
usage() { echo "Usage: $0 -t <tag>]" 1>&2; exit 1; }
1414

1515
while getopts ":t:r:" o; do
1616
case "${o}" in
1717
t)
1818
tag=${OPTARG}
1919
;;
20-
r)
21-
root=${OPTARG}
22-
;;
2320
*)
2421
usage
2522
;;
2623
esac
2724
done
2825
shift $((OPTIND-1))
2926

30-
if [ -z "${tag}" ]; then
31-
echo "Missing tag!"
32-
usage
33-
fi
27+
SCRIPT_DIR=$( cd "$( dirname $(realpath "${BASH_SOURCE[0]}") )" && pwd )
28+
REPO_ROOT=$(realpath "${SCRIPT_DIR}/../..")
3429

35-
cmakelists="${root}/CMakeLists.txt"
30+
cmakelists="${REPO_ROOT}/CMakeLists.txt"
3631
if [ -f "$cmakelists" ]; then
37-
echo "Comparing $tag against version declared in $cmakelists"
38-
3932
VERSION_MAJOR=`cat $cmakelists | grep "set(RLOGIC_VERSION_MAJOR" | sed 's/^[^0-9]*\([0-9]*\).*$/\1/'`
4033
VERSION_MINOR=`cat $cmakelists | grep "set(RLOGIC_VERSION_MINOR" | sed 's/^[^0-9]*\([0-9]*\).*$/\1/'`
4134
VERSION_PATCH=`cat $cmakelists | grep "set(RLOGIC_VERSION_PATCH" | sed 's/^[^0-9]*\([0-9]*\).*$/\1/'`
4235
cmake_version="v$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH"
4336

44-
if [ "$cmake_version" = "$tag" ]; then
45-
echo "Tag $tag matches version in $cmakelists"
37+
if [ -z "${tag}" ]; then
38+
echo "No tag provided! Will use tag from CMakeLists.txt to check other files"
39+
tag=$cmake_version
4640
else
47-
echo "Tag $tag does not match the version in $cmakelists ($cmake_version)" 1>&2
48-
exit 1
41+
echo "Comparing $tag against version declared in $cmakelists"
42+
43+
if [ "$cmake_version" = "$tag" ]; then
44+
echo "Tag $tag matches version in $cmakelists"
45+
else
46+
echo "Tag $tag does not match the version in $cmakelists ($cmake_version)" 1>&2
47+
exit 1
48+
fi
4949
fi
5050
else
5151
echo "Could not find CMakeLists ($cmakelists)!" 1>&2
5252
exit 1
5353
fi
5454

55-
changelog="${root}/CHANGELOG.md"
55+
changelog="${REPO_ROOT}/CHANGELOG.md"
5656
if [ -f "$changelog" ]; then
5757
echo "Checking if version $tag is mentioned in $changelog"
5858

@@ -68,7 +68,7 @@ else
6868
exit 1
6969
fi
7070

71-
readme="${root}/README.md"
71+
readme="${REPO_ROOT}/README.md"
7272
if [ -f "$readme" ]; then
7373
echo "Checking if version $tag is mentioned in $readme"
7474

external/ramses

Submodule ramses updated 51 files

0 commit comments

Comments
 (0)