Merge pull request 'feat: extract version number from shard+git history' (#23) from feature/22-add-support-for-version-number-from-shard into develop
All checks were successful
continuous-integration/drone/push Build is passing

Reviewed-on: #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 git: https://github.com/sztheory/shellwords-crystal.git
version: 0.1.0 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> # Copyright © 2023 Glenn Y. Rolland <glenux@glenux.net>
name: Minimalist FUSE Manager name: Minimalist FUSE Manager
version: 0.1.0 version: 0.1.10
targets: targets:
mfm: mfm:
@ -22,6 +22,8 @@ dependencies:
github: straight-shoota/crinja github: straight-shoota/crinja
shellwords: shellwords:
github: szTheory/shellwords-crystal github: szTheory/shellwords-crystal
version_from_shard:
github: hugopl/version_from_shard
# dependencies: # dependencies:
# pg: # pg:

View file

@ -6,10 +6,9 @@
require "option_parser" require "option_parser"
require "./config" require "./config"
require "./fzf" require "./fzf"
require "./version"
module GX module GX
VERSION="v0.1.9"
class Cli class Cli
Log = ::Log.for("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