From f1ad476ae5eb341c8c7d65c4fccbbf4a10951d4d Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 26 Sep 2020 18:16:21 -0600 Subject: [PATCH] Trick to use one version string from shard.yml --- src/spectator.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectator.cr b/src/spectator.cr index 1b60f69..81db191 100644 --- a/src/spectator.cr +++ b/src/spectator.cr @@ -6,7 +6,7 @@ module Spectator extend self # Current version of the Spectator library. - VERSION = "0.10.0" + VERSION = {{ `shards version #{__DIR__}`.stringify.chomp }} # Top-level describe method. # All specs in a file must be wrapped in this call.