Skip to content

Commit 0dadd9b

Browse files
committed
5.0.0-rc2
1 parent 08ab066 commit 0dadd9b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

cmake/FindObjectBoxGenerator.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ Generated headers and sources are written to the sub-directories ``ObjectBoxGene
127127

128128
option(OBX_GENERATOR_ALLOW_FETCH "Opt-in automatic download and prepare for local execution" ON)
129129

130-
# Version to download (must be a GitHub release with attached binaries):
131-
set(ObjectBoxGenerator_FETCH_VERSION 5.0.0-rc)
130+
# Version to download (must be a GitHub release with attached binaries); also change Version in generator.go
131+
set(ObjectBoxGenerator_FETCH_VERSION 5.0.0-rc2)
132132
# Using the version in the directories used for the generator executable to cleanly support multiple versions.
133133
# This is e.g. relevant when updating to ensure fetching the new version.
134134
set(ObjectBoxGenerator_FETCH_DIR ${CMAKE_BINARY_DIR}/ObjectBoxGenerator-download/${ObjectBoxGenerator_FETCH_VERSION}/fetch)

internal/generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
)
3636

3737
// Version specifies the current generator version.
38-
const Version = "4.0.0"
38+
const Version = "5.0.0-rc2"
3939

4040
// VersionId specifies the current generator version identifier.
4141
// It is used to validate generated code compatibility and is increased when there are changes in the generated code.

scripts/update-flatbuffersc-reflection.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ tmpDir="${repoDir}"/scripts/tmp-generated
1010
# Note: we're using objectbox-generator's flatc-integration.
1111
# If you can't build objectbox-generator, you can build and use flatbuffers flatc binary instead.
1212
flatc="go run ./cmd/objectbox-generator FLATC"
13+
# flatc="../objectbox-generator FLATC" # You can use this if objectbox-generator was already build locally
1314

1415
if [[ "${repoDir}" == "" ]]; then
1516
echo "Invalid repo directory detected"

0 commit comments

Comments
 (0)