Skip to content

Commit

Permalink
use lib/version.rb for fetching the gem version to use
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Feb 17, 2025
1 parent c69cf1e commit 86cc7ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/version.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# frozen_string_literal: true

VERSION = "0.22.0"
4 changes: 3 additions & 1 deletion rubocop-github.gemspec
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# frozen_string_literal: true

require_relative "lib/version"

Gem::Specification.new do |s|
s.name = "rubocop-github"
s.version = "0.22.0"
s.version = VERSION
s.summary = "RuboCop GitHub"
s.description = "Code style checking for GitHub Ruby repositories "
s.homepage = "https://github.com/github/rubocop-github"
Expand Down

0 comments on commit 86cc7ea

Please sign in to comment.