File tree Expand file tree Collapse file tree 5 files changed +31
-4
lines changed
Expand file tree Collapse file tree 5 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1+ require "yaml"
2+ config = ::YAML . load ( File . read ( "openapi/config.yml" ) )
3+ puts config [ "gemVersion" ]
Original file line number Diff line number Diff line change 1- name : RubyGems Release
1+ name : Publish
22
33on :
44 push :
55 branches : [ master ]
66
77jobs :
8- Release :
8+ Publish :
99 name : Release to RubyGems
1010 runs-on : ubuntu-latest
1111 permissions :
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+
7+ jobs :
8+ Release :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up Ruby
13+ uses : ruby/setup-ruby@v1
14+ with :
15+ bundler-cache : true
16+ ruby-version : 3.1
17+ - name : Read version
18+ id : read_version
19+ run : echo "::set-output name=version::$(ruby .github/read_version.rb)"
20+ - name : Create tag and release
21+ run : |
22+ gh release create "v${{ steps.read_version.outputs.version }}"
23+ env :
24+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1111=end
1212
1313module MxPlatformRuby
14- VERSION = '0.8.0 '
14+ VERSION = '0.8.1 '
1515end
Original file line number Diff line number Diff line change @@ -6,6 +6,6 @@ gemHomepage: "https://github.com/mxenabled/mx-platform-ruby"
66gemLicense : " MIT"
77gemName : " mx-platform-ruby"
88gemRequiredRubyVersion : " >= 2.6"
9- gemVersion : " 0.8.0 "
9+ gemVersion : " 0.8.1 "
1010library : " faraday"
1111moduleName : " MxPlatformRuby"
You can’t perform that action at this time.
0 commit comments