Skip to content

Commit 2e35f64

Browse files
committed
Merge branch 'develop'
2 parents 615ee89 + 19a1935 commit 2e35f64

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/publish.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
name: Build + Publish
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
packages: write
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: ruby/setup-ruby@v1
18+
with:
19+
ruby-version: '2.7'
20+
21+
- name: Publish to RubyGems
22+
run: |
23+
gem build *.gemspec
24+
gem push *.gem
25+
env:
26+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"

lib/tasks/patches.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace :patches do
2222
end
2323

2424
task :pending => [:environment] do
25-
Patches::Pending.each do |patch|
25+
Patches::Pending.new.each do |patch|
2626
puts patch
2727
end
2828
end

0 commit comments

Comments
 (0)