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

Vo Minh Thu noteed at gmail.com
Fri May 4 13:00:13 UTC 2018


Hi,

I would search for some custom setup.hs with git describe on Google.

I know I did something along those lines in the past. I'll try to find it
again.

Cheers,
Thu

Le ven. 4 mai 2018 à 14:47, Magnus Therning <magnus at therning.org> a écrit :

> I'm looking for a way to pick up the CI buildnumber from the
> environment
> (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
> can
> point me to a working example :)
>
> /M
>
> --
> 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
> learn
> how to do it.
>      — Pablo Picasso
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180504/b23691ce/attachment.html>


More information about the Haskell-Cafe mailing list