added automatic version fetching
This commit is contained in:
parent
59f49d2f92
commit
d1d8104ab4
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
require "version"
|
||||
|
||||
module CompiledLicense
|
||||
VERSION = {{ `shards version`.stringify.chomp }}
|
||||
VERSION = Version.fetch
|
||||
|
||||
LICENSES = {{ run("./compiled_license/licenses.cr").stringify }}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue