File tree 3 files changed +42
-2
lines changed 3 files changed +42
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Release Gem
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " 2.5-stable"
7
+ paths :
8
+ - " theme_version.rb"
9
+
10
+ jobs :
11
+ release :
12
+ if : " github.repository_owner == 'jekyll'"
13
+ name : " Release Gem (Ruby ${{ matrix.ruby_version }})"
14
+ runs-on : " ubuntu-latest"
15
+ strategy :
16
+ fail-fast : true
17
+ matrix :
18
+ ruby_version : [ "3.3" ]
19
+ steps :
20
+ - name : Checkout Repository
21
+ uses : actions/checkout@v4
22
+ - name : " Set up Ruby ${{ matrix.ruby_version }}"
23
+ uses : ruby/setup-ruby@v1
24
+ with :
25
+ ruby-version : ${{ matrix.ruby_version }}
26
+ bundler-cache : true
27
+ - name : Build and Publish Gem
28
+ uses : ashmaroli/release-gem@dist
29
+ with :
30
+ gemspec_name : minima
31
+ env :
32
+ GEM_HOST_API_KEY : ${{ secrets.RUBYGEMS_GEM_PUSH_API_KEY }}
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
+ require_relative "theme_version"
4
+
3
5
Gem ::Specification . new do |spec |
4
6
spec . name = "minima"
5
- spec . version = "2.5.1"
7
+ spec . version = Minima :: VERSION
6
8
spec . authors = [ "Joel Glovier" ]
7
9
spec . email = [ "jglovier@github.com" ]
8
10
@@ -16,8 +18,9 @@ Gem::Specification.new do |spec|
16
18
f . match ( %r!^(assets|_(includes|layouts|sass)/|(LICENSE|README)((\. (txt|md|markdown)|$)))!i )
17
19
end
18
20
21
+ spec . required_ruby_version = ">= 2.7.0"
22
+
19
23
spec . add_runtime_dependency "jekyll" , ">= 3.5" , "< 5.0"
20
24
spec . add_runtime_dependency "jekyll-feed" , "~> 0.9"
21
25
spec . add_runtime_dependency "jekyll-seo-tag" , "~> 2.1"
22
- spec . add_development_dependency "bundler" , ">= 1.15"
23
26
end
Original file line number Diff line number Diff line change
1
+ # frozen_string_literal: true
2
+
3
+ module Minima
4
+ VERSION = "2.5.2"
5
+ end
You can’t perform that action at this time.
0 commit comments