Skip to content

Commit

Permalink
Bump to 3.9.1-alpha and add default VT
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarrec committed Nov 18, 2024
1 parent 206db70 commit 877d275
Show file tree
Hide file tree
Showing 4 changed files with 40,555 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if(CCACHE_PROGRAM)
endif()

# Project macro can only take digits in the version, it splits these out to specific variables
project(OpenStudio VERSION 3.9.0)
project(OpenStudio VERSION 3.9.1)

include(CMake/compiler_flags.cmake)

Expand Down Expand Up @@ -161,7 +161,7 @@ get_directory_property(hasParent PARENT_DIRECTORY)

# TODO: Modify the more specific variables as needed to indicate prerelease, etc
# Keep in beta in-between release cycles. Set to empty string (or comment out) for official)
set(PROJECT_VERSION_PRERELEASE "")
set(PROJECT_VERSION_PRERELEASE "alpha")

# OpenStudio version: Only include Major.Minor.Patch, eg "3.0.0", even if you have a prerelease tag
set(OPENSTUDIO_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
Expand Down
4 changes: 2 additions & 2 deletions resources/model/OpenStudio.idd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
!IDD_Version 3.9.0
!IDD_Version 3.9.1
! *****************************************************************************
! This file is the Input Data Dictionary (IDD) for OpenStudio Model.
!
Expand Down Expand Up @@ -40,7 +40,7 @@ OS:Version,
\required-field
A2, \field Version Identifier
\type alpha
\default 3.9.0
\default 3.9.1
A3; \field Prerelease Identifier
\type alpha

Expand Down
7 changes: 4 additions & 3 deletions src/osversion/VersionTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ namespace osversion {
m_updateMethods[VersionString("3.7.0")] = &VersionTranslator::update_3_6_1_to_3_7_0;
m_updateMethods[VersionString("3.8.0")] = &VersionTranslator::update_3_7_0_to_3_8_0;
m_updateMethods[VersionString("3.9.0")] = &VersionTranslator::update_3_8_0_to_3_9_0;
// m_updateMethods[VersionString("3.9.0")] = &VersionTranslator::defaultUpdate;
m_updateMethods[VersionString("3.9.1")] = &VersionTranslator::defaultUpdate;
// m_updateMethods[VersionString("3.10.0")] = &VersionTranslator::defaultUpdate;

// List of previous versions that may be updated to this one.
// - To increment the translator, add an entry for the version just released (branched for
Expand Down Expand Up @@ -182,9 +183,9 @@ namespace osversion {
VersionString("2.7.1"), VersionString("2.7.2"), VersionString("2.8.0"), VersionString("2.8.1"), VersionString("2.9.0"),
VersionString("2.9.1"), VersionString("3.0.0"), VersionString("3.0.1"), VersionString("3.1.0"), VersionString("3.2.0"),
VersionString("3.2.1"), VersionString("3.3.0"), VersionString("3.4.0"), VersionString("3.5.0"), VersionString("3.5.1"),
VersionString("3.6.0"), VersionString("3.6.1"), VersionString("3.7.0"), VersionString("3.8.0"),
VersionString("3.6.0"), VersionString("3.6.1"), VersionString("3.7.0"), VersionString("3.8.0"), VersionString("3.9.0"),
// Note: do **not** include the **current** version in m_startVersions, stop at the previous release
//VersionString("3.9.0"),
//VersionString("3.9.1"),
};
}

Expand Down
Loading

0 comments on commit 877d275

Please sign in to comment.