feat: extract version number from shard+git history #23

Merged
glenux merged 1 commit from feature/22-add-support-for-version-number-from-shard into develop 2023-11-18 23:02:15 +00:00
4 changed files with 16 additions and 3 deletions
Showing only changes of commit 46829bcc69 - Show all commits

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