<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">I would search for some custom setup.hs with git describe on Google.</div><div dir="auto"><br></div><div dir="auto">I know I did something along those lines in the past. I'll try to find it again.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Thu</div></div><br><div class="gmail_quote"><div dir="ltr">Le ven. 4 mai 2018 à 14:47, Magnus Therning <<a href="mailto:magnus@therning.org">magnus@therning.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm looking for a way to pick up the CI buildnumber from the <br>
environment<br>
(e.g. $TRAVIS_BUILD_NUMBER) and use it as part of of the output of<br>
`my-tool --version`. I don't really know where to start looking, <br>
so I'm<br>
hoping someone on the list has already done something similar and <br>
can<br>
point me to a working example :)<br>
<br>
/M<br>
<br>
--<br>
Magnus Therning OpenPGP: 0x927912051716CE39<br>
email: <a href="mailto:magnus@therning.org" target="_blank" rel="noreferrer">magnus@therning.org</a> jabber: <a href="mailto:magnus@therning.org" target="_blank" rel="noreferrer">magnus@therning.org</a><br>
twitter: magthe <a href="http://therning.org/magnus" rel="noreferrer noreferrer" target="_blank">http://therning.org/magnus</a><br>
<br>
I am always doing that which I cannot do, in order that I may <br>
learn<br>
how to do it.<br>
— Pablo Picasso<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>