Querying the git commit id of GHC snapshots (was: ANNOUNCE: GHC 7.10.2 Release Candidate 1)
Herbert Valerio Riedel
hvr at gnu.org
Sat Jul 4 12:49:40 UTC 2015
On 2015-07-03 at 05:26:44 +0200, Greg Weber wrote:
> Is the 7.10.2 hvr ppa using this RC?
...it's easy to check, as since 7.10 we embed the Git commit id into the
source-tarball as well as into the generated ghc binary:
$ /opt/ghc/7.10.2/bin/ghc --info | grep Git
,("Project Git commit id","5560861e4562a2e270e6610e6ef3cf120253bb16")
or more useful for scripting, i.e. in buildbots (but harder to remember):
$ /opt/ghc/7.10.2/bin/ghc --print-project-git-commit-id
5560861e4562a2e270e6610e6ef3cf120253bb16
and if you compare that with the git repo that id *currently* matches
the commit pointed to by the lightweight 'ghc-7.10.2-rc2' tag:
http://git.haskell.org/ghc.git/shortlog/refs/tags/ghc-7.10.2-rc2
Cheers,
hvr
More information about the Glasgow-haskell-users
mailing list