We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cat
1 parent 81ea693 commit 485014dCopy full SHA for 485014d
src/version.cr
@@ -1,5 +1,5 @@
1
module Shards
2
- VERSION = {{ `cat #{__DIR__}/../VERSION`.stringify.chomp }}
+ VERSION = {{ read_file("#{__DIR__}/../VERSION").chomp }}
3
BUILD_SHA1 = {{ `git log --format=%h -n 1 2>/dev/null || echo ""`.stringify.chomp }}
4
BUILD_DATE = {{ `date -u +'%Y-%m-%d'`.stringify.chomp }}
5
0 commit comments