Skip to content

Commit e416ee1

Browse files
committed
use version.rb file
1 parent 2ceb245 commit e416ee1

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

entitlements-github-plugin.gemspec

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# frozen_string_literal: true
22

3+
require_relative "lib/version"
4+
35
Gem::Specification.new do |s|
46
s.name = "entitlements-github-plugin"
5-
s.version = File.read("VERSION").chomp
7+
s.version = Entitlements::Version::VERSION
68
s.summary = "GitHub dotcom provider for entitlements-app"
7-
s.description = ""
9+
s.description = "Entitlements plugin to manage GitHub Orgs and Team memberships and access"
810
s.authors = ["GitHub, Inc. Security Ops"]
911
s.email = "[email protected]"
1012
s.license = "MIT"
11-
s.files = Dir.glob("lib/**/*") + %w[VERSION]
13+
s.files = Dir.glob("lib/**/*")
1214
s.homepage = "https://github.com/github/entitlements-github-plugin"
1315
s.executables = %w[]
1416

lib/version.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
module Entitlements
4+
module Version
5+
VERSION = "0.3.0"
6+
end
7+
end

0 commit comments

Comments
 (0)