EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: version headers
From: "Zimoch Dirk \(PSI\) via Core-talk" <core-talk at aps.anl.gov>
To: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Tue, 30 Jun 2020 14:26:48 +0000
Hi folks,

I have a technical git related question. For StreamDevice, I used to update a version header file manually, but I always
forgot to update the numbers when tagging a release. How can I do this automatically? Git has hooks, but none for tag as
it seems (which would be also too late to be included in the tagged commit).

The internet says: "No problem, simply generate the header (e.g. from 'git describe') when building your code." No
problem indeed as long as I have the git repo. But those users that download zip files from github instead of cloning
the repo complain now, as 'git describe' does not work for them, of course.

Is there a way to generate the version header (or any other file that contains the related tag) on github when pushing
the release, so it is included when downloading a release zip file?

Dirk


Replies:
Re: version headers J. Lewis Muir via Core-talk
Re: version headers Michael Davidsaver via Core-talk
Re: version headers Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Build failed: EPICS Base 7 base-7.0-44 AppVeyor via Core-talk
Next: Re: version headers J. Lewis Muir via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Build failed: EPICS Base 7 base-7.0-44 AppVeyor via Core-talk
Next: Re: version headers J. Lewis Muir via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 30 Jun 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·