From 09ff1539ef137be2b7a6174f0f8becaab7f76dbd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 3 May 2016 10:39:52 +0100 Subject: [PATCH] Use the git commit ID for the version --- box.json | 3 ++- src/Application.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/box.json b/box.json index f2d86ffcc..7f37cf62f 100644 --- a/box.json +++ b/box.json @@ -25,5 +25,6 @@ "compression": "GZ", "main": "bin/drupal", "output": "drupal.phar", - "stub": true + "stub": true, + "git-version": "git_version" } diff --git a/src/Application.php b/src/Application.php index 403b63667..c8ffb0700 100644 --- a/src/Application.php +++ b/src/Application.php @@ -30,7 +30,7 @@ class Application extends BaseApplication /** * @var string */ - const VERSION = '1.0.0-alpha2'; + const VERSION = '@git_version@'; /** * @var string