use macro to embed version in shard.yml

This commit is contained in:
Jorge Morante 2023-08-17 18:19:09 +02:00
parent c926a0eb4c
commit 177dc56ad3
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
name: fingers name: fingers
version: 0.1.0 version: 2.0.0
authors: authors:
- Jorge Morante <jorge@morante.eu> - Jorge Morante <jorge@morante.eu>

View File

@ -2,7 +2,7 @@ require "./fingers/logger"
require "./fingers/cli" require "./fingers/cli"
module Fingers module Fingers
VERSION = "2.0.0" VERSION = {{ %(#{`shards version`.chomp}) }}
cli = Cli.new cli = Cli.new
cli.run cli.run