mdspan icon indicating copy to clipboard operation
mdspan copied to clipboard

add version file

Open nmm0 opened this issue 2 years ago • 2 comments

This adds a VERSION file. Also, CMake will read the version from the file and it's easily read from scripts, so it will be easier to keep updated in releases

I therefore bumped the version to 0.5.0 since that's the last release (we forgot to update it from 0.4.0)

nmm0 avatar Apr 04 '23 21:04 nmm0

This adds a VERSION file. Also, CMake will read the version from the file and it's easily read from scripts, so it will be easier to keep updated in releases

I don't get the argument this will be easier.

dalg24 avatar Apr 04 '23 21:04 dalg24

This adds a VERSION file. Also, CMake will read the version from the file and it's easily read from scripts, so it will be easier to keep updated in releases

I don't get the argument this will be easier.

You don't need to parse CMake to get the version from a tarball in a script.

I did some sleuthing and it's not super common to have a VERSION file, but pytorch does it (called version.txt) and CUDA has a version.json (which has a version for each component) in their tarball.

nmm0 avatar Apr 04 '23 22:04 nmm0

I'm closing this since there doesn't seem to be any desire for it.

nmm0 avatar Feb 14 '25 12:02 nmm0