[Haskell-cafe] Picking up the CI buildnumber during build

Magnus Therning magnus at therning.org
Fri May 4 12:47:03 UTC 2018

I'm looking for a way to pick up the CI buildnumber from the 
(e.g. $TRAVIS_BUILD_NUMBER) and use it as part of of the output of
`my-tool --version`. I don't really know where to start looking, 
so I'm
hoping someone on the list has already done something similar and 
point me to a working example :)


Magnus Therning              OpenPGP: 0x927912051716CE39
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

I am always doing that which I cannot do, in order that I may 
how to do it.
     — Pablo Picasso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180504/adba6860/attachment.sig>

More information about the Haskell-Cafe mailing list