forked from glenux/mfm
feat: extract version number from shard+git history
This commit is contained in:
parent
3f22971fa8
commit
46829bcc69
4 changed files with 16 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
8
src/version.cr
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
require "version_from_shard"
|
||||
|
||||
module GX
|
||||
VersionFromShard.declare
|
||||
end
|
||||
|
||||
|
Loading…
Reference in a new issue