epics-modules / mrfioc2

EPICS driver for Micro Research Finland event timing system devices
http://epics-modules.github.io/mrfioc2/
Other
8 stars 29 forks source link

mrfioc2 software version and git tag #145

Closed Insomnia1437 closed 2 months ago

Insomnia1437 commented 2 months ago

When I read $(P)SwVer-I PV, I found the value becomes something like: kmod-deb-3-0-2-gd1f0ec7f-dirty rather than 2.6.0

The MRF_VERSION macro is generated from genVersionHeader.pl

perl -CSD ../genVersionHeader.pl -t "../../.." -V "2.6.0" -N MRF_VERSION version.h
Creating VCS version header version.h with "kmod-deb-3-0-13-gd1f0ec7f-dirty"

inside genVersionHeader.pl, it uses the most recent tag and current commit ID to denote the mrfioc2 version

https://github.com/epics-modules/mrfioc2/blob/5b2109655ea801c904e507abcae02d8881a585db/mrfCommon/src/genVersionHeader.pl#L64-L72

Perhaps we should remove these two tags or modify genVersionHeader.pl to keep digit tags only

jerzyjamroz commented 2 months ago

@Insomnia1437 , kmod releases are not the IOC releases. There is the IOC artefact so the ci is for the upgrade in the future.

Insomnia1437 commented 2 months ago

fix in #146 close this issue