File tree Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Expand file tree Collapse file tree 3 files changed +36
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Push Gem
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ rubygems :
10+ runs-on : ubuntu-latest
11+
12+ environment : rubygems
13+
14+ permissions :
15+ id-token : write
16+
17+ steps :
18+ # Set up
19+ - uses : actions/checkout@v4
20+ - name : Set up Ruby
21+ uses : ruby/setup-ruby@v1
22+ with :
23+ ruby-version : ' 3.2.2'
24+ - name : Install gems
25+ run : bundle install
26+ - name : Set version
27+ run : sed -i "s/VERSION = \"0.0.0\"/VERSION = \"${{ github.ref_name }}\"/" lib/code0/identities/version.rb && bundle
28+
29+ # Release
30+ - uses : rubygems/configure-rubygems-credentials@v1.0.0
31+ - name : Publish gem
32+ run : bundle exec rake release:rubygem_push
33+ - name : Wait for release
34+ run : gem exec rubygems-await pkg/*.gem
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- code0-identities (0.1 .0 )
4+ code0-identities (0.0 .0 )
55 httparty (~> 0.22 )
66
77GEM
Original file line number Diff line number Diff line change 22
33module Code0
44 module Identities
5- VERSION = "0.1 .0"
5+ VERSION = "0.0 .0"
66 end
77end
You can’t perform that action at this time.
0 commit comments