Skip to content

Commit

Permalink
Update version number to 14.3.0 in preparation for release
Browse files Browse the repository at this point in the history
Also add bug fix to script ./release/changeVersionNumbers.sh to (1) include
KPP CHANGELOG file in the GEOS-Chem submodule and (2) reference GCHP instead
of GCClassic.

Signed-off-by: Melissa Sulprizio <[email protected]>
  • Loading branch information
msulprizio committed Feb 7, 2024
1 parent 50554d0 commit 14cb756
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .release/changeVersionNumbers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# !DESCRIPTION: Bash script to change the version numbers in the appropriate
# files in the GCHP directory structure. Run this before releasing
# a new GCHP Classic version.
# a new GCHP version.
#\\
#\\
# !CALLING SEQUENCE:
Expand Down Expand Up @@ -76,7 +76,7 @@ function main() {
for file in ${files[@]}; do
replace "${pattern}" "${version}" "${file}"
[[ $? -ne 0 ]] && exitWithError "${file}"
echo "GCClassic version updated to ${version} in ${file}"
echo "GCHP version updated to ${version} in ${file}"
done

#========================================================================
Expand All @@ -91,13 +91,14 @@ function main() {
files=( \
"CHANGELOG.md" \
"src/GCHP_GridComp/GEOSChem_GridComp/geos-chem/CHANGELOG.md" \
"src/GCHP_GridComp/GEOSChem_GridComp/geos-chem/KPP/fullchem/CHANGELOG_fullchem.md" \
)

# Replace version numbers in files
for file in ${files[@]}; do
replace "${pattern}" "\[${version}\] - ${date}" "${file}"
[[ $? -ne 0 ]] && exitWithError "${file}"
echo "GCClassic version updated to ${version} in ${file}"
echo "GCHP version updated to ${version} in ${file}"
done

# Return to the starting directory
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This file documents all notable changes to the GCHP wrapper repository starting

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased 14.3.0] - TBD
## [14.3.0] - 2024-02-07
### Added
- Added capability for TOMAS simulations in GCHP
- Added Cloud-J as submodule within GCHP_GridComp directory
Expand Down
2 changes: 1 addition & 1 deletion src/GCHP_GridComp/GEOSChem_GridComp/geos-chem

0 comments on commit 14cb756

Please sign in to comment.