Skip to content

Commit

Permalink
chore: Configure version file on release config
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmechlark committed Sep 8, 2023
1 parent 01b4d9e commit 53b3b5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .release-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
"section": "Miscellaneous",
"hidden": false
}
]
],
"version-file": "lib/devise/auth0/version.rb"
}
13 changes: 3 additions & 10 deletions lib/devise/auth0/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,12 @@

module Devise
module Auth0
VERSION = "1.0.0".freeze

class << self
def gem_version
Gem::Version.new(VERSION::STRING)
Gem::Version.new(VERSION)
end
end

module VERSION
MAJOR = 1
MINOR = 0
TINY = 0
PRE = "rc10"

STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
end
end
end

0 comments on commit 53b3b5b

Please sign in to comment.