File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ jobs:
3636 uses : ruby/setup-ruby@v1
3737 with :
3838 ruby-version : ' 3.2'
39- bundler-cache : true
40- cache-version : 1 # Increment this when you need to bust cache
39+ bundler-cache : false # Disable cache for release workflow
40+
41+ - name : Configure Bundler for release
42+ run : bundle config set --local deployment false
4143
4244 - name : Install dependencies
43- run : |
44- bundle config set --local deployment false
45- bundle install
45+ run : bundle install
4646
4747 - name : Configure Git
4848 run : |
5454 run : |
5555 echo "Updating version to ${{ github.event.inputs.version }}"
5656 sed -i 's/VERSION = ".*"/VERSION = "${{ github.event.inputs.version }}"/' lib/ruby_llm/template/version.rb
57- git add lib/ruby_llm/template/version.rb
57+
58+ # Update Gemfile.lock to reflect the new version
59+ bundle install
60+
61+ # Commit both the version file and the updated lock file
62+ git add lib/ruby_llm/template/version.rb Gemfile.lock
5863 git commit -m "Bump version to ${{ github.event.inputs.version }}"
5964 git tag "v${{ github.event.inputs.version }}"
6065 git push origin main
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- ruby_llm-template (0.1.1 )
4+ ruby_llm-template (0.1.2 )
55 ruby_llm (>= 1.0 )
66 ruby_llm-schema (>= 0.2.0 )
77
You can’t perform that action at this time.
0 commit comments