Skip to content

Commit

Permalink
Merge pull request #4212 from rubygems/release/bundler_2.2.4_rubygems…
Browse files Browse the repository at this point in the history
…_3.2.4

Prepare bundler 2.2.4 & rubygems 3.2.4 releases
  • Loading branch information
deivid-rodriguez committed Dec 31, 2020
2 parents 29dc3c8 + 05bffe7 commit 529e536
Show file tree
Hide file tree
Showing 63 changed files with 686 additions and 729 deletions.
18 changes: 9 additions & 9 deletions .changelog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

header_template: "=== %new_version / %release_date"
header_template: "# %new_version / %release_date"

entry_template: "* %pull_request_title. Pull request #%pull_request_number by %pull_request_author"

Expand All @@ -9,14 +9,14 @@ release_date_format: "%Y-%m-%d"
entry_wrapping: 74

changelog_label_mapping:
"rubygems: security fix": "Security fixes:"
"rubygems: breaking change": "Breaking changes:"
"rubygems: deprecation": "Deprecations:"
"rubygems: feature": "Features:"
"rubygems: performance": "Performance:"
"rubygems: enhancement": "Enhancements:"
"rubygems: bug fix": "Bug fixes:"
"rubygems: documentation": "Documentation:"
"rubygems: security fix": "## Security fixes:"
"rubygems: breaking change": "## Breaking changes:"
"rubygems: deprecation": "## Deprecations:"
"rubygems: feature": "## Features:"
"rubygems: performance": "## Performance:"
"rubygems: enhancement": "## Enhancements:"
"rubygems: bug fix": "## Bug fixes:"
"rubygems: documentation": "## Documentation:"
"rubygems: backport": null

patch_level_labels:
Expand Down
24 changes: 19 additions & 5 deletions .github/workflows/install-rubygems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
- { name: 2.6, value: 2.6.6 }
- { name: 2.7, value: 2.7.2 }
- { name: jruby-9.2, value: jruby-9.2.14.0 }
- { name: truffleruby-20.2, value: truffleruby-20.2.0 }
openssl:
- { name: "openssl", value: true }
- { name: "no-openssl", value: false }
Expand All @@ -33,7 +34,7 @@ jobs:
ruby-version: ${{ matrix.ruby.value }}
bundler: none
- name: Install rubygems
run: ruby -Ilib -S rake install 2> errors.txt
run: ruby -Ilib -S rake install 2> errors.txt || (cat errors.txt && exit 1)
- name: Check rubygems install produced no warnings
run: test ! -s errors.txt || (cat errors.txt && exit 1)
- name: Run a local rubygems command
Expand All @@ -51,8 +52,10 @@ jobs:
run: bundle --version
- name: Check bundler man pages were installed and are properly picked up
run: bundle install --help | grep -q BUNDLE-INSTALL
if: matrix.ruby.name != 'truffleruby-20.2'
- name: Check bundler fallback man pages are properly picked up
run: sudo rm $(which man) && bundle install --help
if: matrix.ruby.name != 'truffleruby-20.2'
- name: Build bundler
run: gem build bundler.gemspec
working-directory: ./bundler
Expand All @@ -64,22 +67,33 @@ jobs:
working-directory: ./bundler
- name: Check rails can be installed
run: gem install rails
if: matrix.ruby.name != 'truffleruby-20.2'
timeout-minutes: 10

install_rubygems_windows:
name: Install Rubygems on Windows
name: Install Rubygems on Windows (${{ matrix.ruby.name }})
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
ruby:
- { name: 2.7, value: 2.7.2 }
- { name: jruby-9.2, value: jruby-9.2.14.0 }
steps:
- uses: actions/checkout@v2
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.2
ruby-version: ${{ matrix.ruby.value }}
bundler: none
- name: Install rubygems
run: ruby setup.rb
shell: bash
- name: Check installation didn't modify gemspec line feeds
run: ruby -Ilib -e'exit 1 if File.readlines("bundler/bundler.gemspec").first.end_with?("\r\n")'
- name: Check installation didn't modify any source controlled files
run: git diff --exit-code
shell: bash
- name: Check we can install a Gemfile with git sources
run: bundle init && bundle add fileutils --git https://github.com/ruby/fileutils
shell: bash

timeout-minutes: 10
Loading

0 comments on commit 529e536

Please sign in to comment.