Skip to content

Commit

Permalink
Make the version in the shard.yml the single place that the version i…
Browse files Browse the repository at this point in the history
…s recorded.
  • Loading branch information
wyhaines committed Jan 6, 2025
1 parent 92e13c4 commit 902e0c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

2 changes: 1 addition & 1 deletion src/api/version.cr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module OpenTelemetry
module API
{% begin %}
VERSION = {{ read_file("#{__DIR__}/../../VERSION").chomp }}
VERSION = {{ `shards version #{__DIR__}`.chomp.stringify }}
{% end %}
end
end

0 comments on commit 902e0c7

Please sign in to comment.