-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include a utility script that can be used to change HEMCO version numbers before release #242
Include a utility script that can be used to change HEMCO version numbers before release #242
Conversation
.release/changeVersionNumbers.sh - Script that changes the HEMCO version numbers in the relevant locations. Use before releasing a new version. Signed-off-by: Bob Yantosca <[email protected]>
$files[@] --> ${files[@]} Signed-off-by: Bob Yantosca <[email protected]>
This merge brings the feature/change-version-numbers branch up-to-date with HEMCO 3.7.1 Signed-off-by: Bob Yantosca <[email protected]>
.release/changeVersionNumbers.sh - Add "Harmonized Emissions Component (HEMCO)" to doc header - Place code in the main() routine - Call main and return the status to the shell - Replace tabs with spaces Signed-off-by: Bob Yantosca <[email protected]>
.release/changeVersionNumbers.sh - Add more descriptive function headers - Bug fix: "main()" -> "main" near end of script - Now error check # of arguments outside of main() Signed-off-by: Bob Yantosca <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! We should add a similar script to the geos-chem, GCClassic, and GCHP repos.
It would be nice to eventually extend this to update the CHANGELOG.md to automatically add the release date and remove "unreleased" from the version line.
I'll work on this for the other repos. Thanks @msulprizio and Happy Thanksgiving! |
.release/changeVersionNumbers.sh - Modified to also update the version number and the current date in the CHANGELOG.md file. Looks for "Unreleased" in brackets and ignores any text that follows as the string to replace. Signed-off-by: Bob Yantosca <[email protected]>
@msulprizio: I've added code to also update the version number and current date in commit 52731cf. |
Looks great. Thanks! |
This is the official release of HEMCO 3.7.2. Updates include: - Add utility scripts to change version numbers before release (PR #242) - Rename HEMCO Config.rc.sample to HEMCO_Config.rc for standalone (PR #245) - Increase string length for netCDF variable name (PR #248) - Turn off emission extensions when EMISSIONS logical is false (PR #250) Signed-off-by: Bob Yantosca <[email protected]>
Name and Institution (Required)
Name: Bob Yantosca
Institution: Harvard + GCST
Confirm you have reviewed the following documentation
Describe the update
This PR adds a utility script (
.release/changeVersionNumbers.sh
) to update version numbers before a HEMCO release in the proper locations:Example:
Expected changes
This is a no-diff-to-benchmark update.
Reference(s)
N/A
Related Github Issue(s)
N/A