1
0
Fork 0
forked from glenux/mfm

Merge pull request 'feat: extract version number from shard+git history' (#23) from feature/22-add-support-for-version-number-from-shard into develop

Reviewed-on: glenux/mfm#23
This commit is contained in:
Glenn Y. Rolland 2023-11-18 23:02:14 +00:00
commit 713b92fac0
4 changed files with 16 additions and 3 deletions

View file

@ -8,3 +8,7 @@ shards:
git: https://github.com/sztheory/shellwords-crystal.git
version: 0.1.0
version_from_shard:
git: https://github.com/hugopl/version_from_shard.git
version: 1.2.5

View file

@ -5,7 +5,7 @@
# Copyright © 2023 Glenn Y. Rolland <glenux@glenux.net>
name: Minimalist FUSE Manager
version: 0.1.0
version: 0.1.10
targets:
mfm:
@ -22,6 +22,8 @@ dependencies:
github: straight-shoota/crinja
shellwords:
github: szTheory/shellwords-crystal
version_from_shard:
github: hugopl/version_from_shard
# dependencies:
# pg:

View file

@ -6,10 +6,9 @@
require "option_parser"
require "./config"
require "./fzf"
require "./version"
module GX
VERSION="v0.1.9"
class Cli
Log = ::Log.for("cli")

8
src/version.cr Normal file
View file

@ -0,0 +1,8 @@
require "version_from_shard"
module GX
VersionFromShard.declare
end