Skip to content

Commit

Permalink
per #2509, automate MET version used in documentation to be X+6.Y.0 o…
Browse files Browse the repository at this point in the history
…f METplus version
  • Loading branch information
georgemccabe committed Mar 20, 2024
1 parent 14b400f commit 7b90fe9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@

project = 'METplus'

met_version = '12.0.0'

author = 'UCAR/NCAR, NOAA, CSU/CIRA, and CU/CIRES'

# list of contributing authors currently involved with the project
Expand Down Expand Up @@ -87,6 +85,10 @@

verinfo = version

# compute MET version as X+6.Y.0 of METplus version
x, y, _ = __version__.split('.')
met_version = f'{int(x)+6}.{y}.0'

release_date = __release_date__

release_year = release_date[0:4]
Expand Down

0 comments on commit 7b90fe9

Please sign in to comment.