prepare the creation of 5.6-beta2 and 6.0-dev

This commit is contained in:
Laurent Rineau 2023-06-13 13:32:56 +02:00
parent 29b84248f8
commit 12cc83e7d5
4 changed files with 10 additions and 7 deletions

View File

@ -17,10 +17,10 @@
#define CGAL_VERSION_H
#ifndef SWIG
#define CGAL_VERSION 6.0-beta1
#define CGAL_VERSION 6.0-dev
#define CGAL_GIT_HASH abcdef
#endif
#define CGAL_VERSION_NR 1060000910
#define CGAL_VERSION_NR 1060000900
#define CGAL_SVN_REVISION 99999
#define CGAL_RELEASE_DATE 20231001

View File

@ -2,7 +2,7 @@ set(CGAL_MAJOR_VERSION 6)
set(CGAL_MINOR_VERSION 0)
set(CGAL_BUGFIX_VERSION 0)
include(${CMAKE_CURRENT_LIST_DIR}/CGALConfigBuildVersion.cmake)
set(CGAL_VERSION_PUBLIC_RELEASE_VERSION "6.0-beta1")
set(CGAL_VERSION_PUBLIC_RELEASE_VERSION "6.0-dev")
set(CGAL_VERSION_PUBLIC_RELEASE_NAME "CGAL-${CGAL_VERSION_PUBLIC_RELEASE_VERSION}")
if (CGAL_BUGFIX_VERSION AND CGAL_BUGFIX_VERSION GREATER 0)

View File

@ -72,6 +72,9 @@ def beta_release_from_master(beta_number):
rel.cwd = "$HOME/CGAL/create_internal_release"
return rel
def beta_release(branch, beta_number):
"""Convenience function to create a beta release from a branch"""
return BetaRelease(branch, beta_number)
def release(branch):
"""Convenience function to create a release from a branch"""

View File

@ -8,7 +8,7 @@ import os
import datetime
import locale
import argparse
from cgal_release import release, integration, master, beta_release_from_master
from cgal_release import release, integration, master, beta_release, master, beta_release_from_master
# Define a dictionary that maps day of the week to an action
actions = {
@ -16,9 +16,9 @@ actions = {
"Tuesday": integration,
"Wednesday": integration,
"Thursday": integration,
"Friday": release("5.5"),
"Saturday": release("5.4"),
"Sunday": beta_release_from_master(1),
"Friday": beta_release("5.6", 2),
"Saturday": release("5.5"),
"Sunday": master,
}