Skip to content

Commit 919d716

Browse files
authored
Merge pull request #268 from rspec/update-rspec-ci-flag-4-0-dev
Update RSpec CI flag
2 parents a4ecb4f + fc5ed96 commit 919d716

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,8 @@ def force_update(branch, custom_pr_comment, skip_confirmation=false, opts={})
578578
end
579579

580580
def update_files_in_repos(purpose, suffix='', opts={})
581-
branch_name = "update-#{purpose.gsub ' ', '-'}-#{ENV.fetch('BRANCH_DATE',Date.today.iso8601)}-for-#{BASE_BRANCH}"
581+
suffix = [BASE_BRANCH, ENV['BRANCH_SUFFIX']].join('-')
582+
branch_name = "update-#{purpose.gsub ' ', '-'}-#{ENV.fetch('BRANCH_DATE',Date.today.iso8601)}-for-#{suffix}"
582583

583584
each_project_with_common_build(opts) do |proj|
584585
assert_clean_git_status(proj)

ci/.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
- '*'
1111
env:
1212
RSPEC_CI: true
13+
# This tells rspec-rails what branch to run in ci
14+
RSPEC_VERSION: '= 4.0.0.pre'
1315
jobs:
1416
test:
1517
name: Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}

0 commit comments

Comments
 (0)