mirror of
https://github.com/we-promise/sure.git
synced 2026-04-08 06:44:52 +00:00
* Remove Intercom integration * New Sure name * More documentation/Discord link updates * Bump to 0.6.1 * More copy fixes/Sure branding * Make LLMs happy
21 lines
291 B
Ruby
21 lines
291 B
Ruby
module Maybe
|
|
class << self
|
|
def version
|
|
Semver.new(semver)
|
|
end
|
|
|
|
def commit_sha
|
|
if Rails.env.production?
|
|
ENV["BUILD_COMMIT_SHA"]
|
|
else
|
|
`git rev-parse HEAD`.chomp
|
|
end
|
|
end
|
|
|
|
private
|
|
def semver
|
|
"0.6.1"
|
|
end
|
|
end
|
|
end
|