Skip to content

Commit f4d41f1

Browse files
committed
Build: Bump develop version number
1 parent 25a0397 commit f4d41f1

3 files changed

Lines changed: 21 additions & 3 deletions

File tree

mhkit_python_utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
_warn.simplefilter(action="ignore", category=FutureWarning)
88

9-
__version__ = "0.7.0-dev.1"
9+
__version__ = "0.7.0-dev.2"
1010

1111
__copyright__ = """
1212
Copyright 2019, Alliance for Sustainable Energy, LLC under the terms of

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "mhkit_python_utils"
7-
version = "0.7.0-dev.1"
7+
# Release version format:
8+
# - Major.Minor.Patch, i.e., 0.6.0
9+
# Non Release version format:
10+
# - <Next Major (opt)>.<Next Minor>.Patch-<label>.Build, i.e., 0.7.0-dev.1
11+
# - Labels can be 'dev', 'alpha', 'beta', 'rc' (release candidate)
12+
version = "0.7.0-dev.2"
813
description = "A utility package that enables data exchange and interoperability between MHKiT-MATLAB and MHKiT-Python. Part of the MHKiT (Marine and Hydrokinetic Toolkit) project."
914
readme = "README.md"
1015
requires-python = ">=3.10"

scripts/build_release.m

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,20 @@
55
% This is unique to this project and first setup in the .prj file. DO NOT CHANGE THIS!
66
toolbox_guid = '1f426c5c-9e72-4f83-8e42-1e51b296aa29';
77
display_name = 'Marine and Hydrokinetic Toolkit (MHKiT)';
8-
project_version = '0.7.0-dev.1';
8+
% MATLAB only supports <Major>.<Minor>.<Patch>.<Build>
9+
% MHKIT-MATLAB uses the following encoding scheme to add version number for non release builds
10+
% Major.Minor.Patch.<Build>
11+
% For release builds version number:
12+
% * Version should only have Major.Minor.Patch, i.e.: 0.7.0
13+
%
14+
% For dev, alpha, beta and release builds we include an encoded build number
15+
% Where a prefix of
16+
% 9 indicates a dev version
17+
% 8 indicates a alpha version
18+
% 7 indicates a beta version
19+
% 6 indicates a release candidate version
20+
% i.e.: Development build for version 0.7.0-dev.2 would be 0.7.0.9002
21+
project_version = '0.7.0.9002';
922
matlab_minimum_release_supported = 'R2022b';
1023
summary = 'Marine energy data analysis and visualization toolbox';
1124
description = sprintf([ ...

0 commit comments

Comments
 (0)