NOAA-EMC / wgrib2

Provides functionality for interacting with, reading, writing, and manipulating GRIB2 files.
27 stars 13 forks source link

Add a VERSION file in the main directory and use it for the package version #94

Closed edwardhartnett closed 6 months ago

edwardhartnett commented 6 months ago

We have in CMakeLists.txt:

project(wgrib2 VERSION 3.1.4 LANGUAGES Fortran C)

Instead of putting the version into CMakeLists.txt this way, we will keep it in a separate file named VERSION.

And when I type "wgrib2" I get the following output:

ed@Pooh-Bah:~/wgrib2/b/wgrib2$ ./wgrib2 
wgrib2 v3.1.4beta1 11/2023  Wesley Ebisuzaki, Reinoud Bokhorst, John Howard, Jaakko Hyvätti, Dusan Jovic, Daniel Lee, Kristian Nilssen, Karl Pfeiffer, Pablo Romero, Manfred Schwarb, Gregor Schee, Arlindo da Silva, Niklas Sondell, Sam Trahan, George Trojan, Sergey Varlamov

This version should match the one used in CMake.