Skip to content

Commit 99a8c08

Browse files
committed
Bump version and use release-gem
1 parent 508ebde commit 99a8c08

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,10 @@ jobs:
2828
environment: production
2929

3030
- name: Setup Ruby
31-
uses: ruby/setup-ruby@1a615958ad9d422dd932dc1d5823942ee002799f # v1.227.0
31+
uses: ruby/setup-ruby@v1
3232
with:
3333
ruby-version: 3.4.3
3434

35-
- name: Build Gem
36-
run: gem build -o patch_ruby.gem patch_ruby.gemspec
37-
3835
- name: Install Ruby Dependencies
3936
run: bundle install
4037

@@ -43,8 +40,7 @@ jobs:
4340
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}
4441
run: bundle exec rspec
4542

46-
- name: Push to RubyGems
47-
run: gem push patch_ruby.gem
43+
- uses: rubygems/release-gem@v1
4844

4945
- name: Update deployment status (success)
5046
if: success()

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
patch_ruby (2.6.0)
4+
patch_ruby (2.6.1)
55
typhoeus (~> 1.0, >= 1.0.1)
66

77
GEM

lib/patch_ruby/api_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ApiClient
3131
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
3232
def initialize(config = Configuration.default)
3333
@config = config
34-
@user_agent = "patch-ruby/2.6.0"
34+
@user_agent = "patch-ruby/2.6.1"
3535
@default_headers = {
3636
'Content-Type' => 'application/json',
3737
'User-Agent' => @user_agent

lib/patch_ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
=end
1212

1313
module Patch
14-
VERSION = '2.6.0'
14+
VERSION = '2.6.1'
1515
end

0 commit comments

Comments
 (0)