aboutsummaryrefslogtreecommitdiffstats
path: root/json
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-01-14 18:47:45 +0000
committerGitHub <noreply@github.com>2020-01-14 18:47:45 +0000
commit4cdf002557e17b23c1b9ba2e01e51279049894a3 (patch)
tree08c24d466d84a0e90cd6f221aaed347dcf247366 /json
parent56918e5596a8531c5a21bed8e9407fa0ea7aa507 (diff)
parent659c4fad56da8d285060c8d0edd3918e8c5a1575 (diff)
downloadnextpnr-4cdf002557e17b23c1b9ba2e01e51279049894a3.tar.gz
nextpnr-4cdf002557e17b23c1b9ba2e01e51279049894a3.tar.bz2
nextpnr-4cdf002557e17b23c1b9ba2e01e51279049894a3.zip
Merge pull request #379 from twam/pass_version
Change version to git describe and make set-able from outside
Diffstat (limited to 'json')
-rw-r--r--json/jsonwrite.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/json/jsonwrite.cc b/json/jsonwrite.cc
index 9723d3b2..477bfca5 100644
--- a/json/jsonwrite.cc
+++ b/json/jsonwrite.cc
@@ -214,7 +214,7 @@ void write_context(std::ostream &f, Context *ctx)
{
f << stringf("{\n");
f << stringf(" \"creator\": %s,\n",
- get_string("Next Generation Place and Route (git sha1 " GIT_COMMIT_HASH_STR ")").c_str());
+ get_string("Next Generation Place and Route (Version " GIT_DESCRIBE_STR ")").c_str());
f << stringf(" \"modules\": {\n");
write_module(f, ctx);
f << stringf("\n }");