From 8d78f902b6eba4326fccd0c710c286370bf26746 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 4 Oct 2017 20:56:15 +0300 Subject: Add: make yarn get version from setup.py Hardcoding it would just mean having to update it after every release, and ain't nobody ready to do that. --- yarns/200-version.yarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yarns/200-version.yarn') diff --git a/yarns/200-version.yarn b/yarns/200-version.yarn index 92cccbb..5fa08ed 100644 --- a/yarns/200-version.yarn +++ b/yarns/200-version.yarn @@ -30,6 +30,6 @@ The Ick controller reports is version upon request. WHEN user makes request GET /version THEN result has status code 200 - AND body matches { "version": "0.2.1+git" } + AND version in body matches version from setup.py FINALLY stop ick controller -- cgit v1.2.1