Skip to content

Commit

Permalink
Bump expressir to 1.3.0.pre.1
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx committed Dec 13, 2023
1 parent 0db2d02 commit 0d7c263
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ jobs:
cat .rspec_status || echo ".rspec_status was not found"
verify-linux-gnu:
name: verify Linux (GNU) binary gem on ruby-${{ matrix.ruby }}
name: verify Linux (gnu) binary gem on ruby-${{ matrix.ruby }}
needs: pack
runs-on: ubuntu-latest
strategy:
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
path: pkg

- name: Install binary gem
run: gem install -l pkg/expressir-*-$(ruby -e "puts RUBY_PLATFORM").gem
run: gem install -l pkg/expressir-*-$(ruby -e "puts RUBY_PLATFORM")-gnu.gem

- name: Verify
run: |
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:

- if: ${{ github.event_name == 'workflow_dispatch' }} # unfortunatelly cannot keep this condition on job level
run: |
git config user.name github-actions
git config user.email [email protected]
git config --global user.name github-actions
git config --global user.email [email protected]
gem install gem-release
gem bump --version ${{ github.event.inputs.next_version }} --tag --push
Expand All @@ -41,12 +41,11 @@ jobs:
strategy:
fail-fast: false
matrix:
host: [ linux, windows, darwin ]
platform: [ linux-gnu, windows, darwin ]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
ref: main # https://github.com/actions/checkout/issues/439#issuecomment-830862188

- uses: ruby/setup-ruby@master
with:
Expand All @@ -59,7 +58,7 @@ jobs:
# build gem WITHOUT pre-built native extension
- run: gem build expressir.gemspec

- if: matrix.host == 'linux'
- if: matrix.platform == 'linux-gnu'
uses: actions/upload-artifact@v3
with:
name: pkg-ruby
Expand All @@ -74,11 +73,11 @@ jobs:
sudo swapon --all --verbose
# build gem WITH pre-built native extension
- run: bundle exec rake gem:${{ matrix.host }}
- run: bundle exec rake gem:${{ matrix.platform }}

- uses: actions/upload-artifact@v3
with:
name: pkg-${{ matrix.host }}
name: pkg-${{ matrix.platform }}
path: pkg/*.gem

publish:
Expand All @@ -92,7 +91,7 @@ jobs:

- uses: actions/download-artifact@v3
with:
name: pkg-linux
name: pkg-linux-gnu
path: pkg

- uses: actions/download-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion lib/expressir/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Expressir
VERSION = "1.2.11".freeze
VERSION = "1.3.0.pre.1".freeze
end

0 comments on commit 0d7c263

Please sign in to comment.