summaryrefslogtreecommitdiff
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2018-01-15 07:26:44 -0600
committerMichael Catanzaro <mcatanzaro@igalia.com>2018-01-15 07:26:44 -0600
commit4c34c7e1b13148f1aa9997148cb1bb8f9b3416cc (patch)
tree5802f49394842dcf86fd1dab53597b50184eca68 /src/window-commands.c
parent2da395047529d6aaf7a23e094ade18b5412c1f07 (diff)
downloadepiphany-4c34c7e1b13148f1aa9997148cb1bb8f9b3416cc.tar.gz
Use meson's vcs_tag(), but not for network requests
I just learned about meson's vcs_tag() function. We can use this to get rid of our compute-tech-preview-version.sh script. In implementing this, I discovered that we're sending the git hash along to the sync server and safe browsing server. Let's not do that. Only use the VCS version when displaying things locally, not in network requests.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 5c57aa1e9..374a3cb42 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -52,6 +52,7 @@
#include "ephy-settings.h"
#include "ephy-shell.h"
#include "ephy-string.h"
+#include "ephy-vcs-version.h"
#include "ephy-web-app-utils.h"
#include "ephy-zoom.h"
@@ -651,7 +652,7 @@ window_cmd_show_about (GSimpleAction *action,
#else
"program-name", _("Epiphany Technology Preview"),
#endif
- "version", VERSION,
+ "version", VCSVERSION,
"copyright", "Copyright © 2002–2004 Marco Pesenti Gritti\n"
"Copyright © 2003–2018 The Web Developers",
"artists", artists,