Skip to content

Commit 1f23533

Browse files
committed
bump version to 1.2.2 and simplify RubyGems publishing workflow
1 parent fff9bbc commit 1f23533

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,13 +124,7 @@ jobs:
124124

125125
- name: Publish to RubyGems
126126
if: steps.tag_check.outputs.exists == 'false'
127+
env:
128+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
127129
run: |
128-
mkdir -p ~/.gem
129-
cat << EOF > ~/.gem/credentials
130-
---
131-
:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}
132-
EOF
133-
chmod 0600 ~/.gem/credentials
134130
gem push gem_guard-${{ steps.version.outputs.version }}.gem
135-
env:
136-
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}

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-
gem_guard (1.2.1)
4+
gem_guard (1.2.2)
55
json (~> 2.0)
66
thor (~> 1.0)
77
tty-prompt (~> 0.23)

lib/gem_guard/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module GemGuard
2-
VERSION = "1.2.1"
2+
VERSION = "1.2.2"
33
end

0 commit comments

Comments
 (0)