Skip to content

Commit 1e37c12

Browse files
committed
Merge branch 'master' of github.com:bugcrowd/vrt-ruby
2 parents f7ac793 + a3413b9 commit 1e37c12

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ When a new version of the VRT is released, we follow these steps:
1414
- `git checkout vX.X`
1515
2. Cut new version of the gem
1616
- update Vrt::VERSION
17-
- `rake build`
18-
3. Push new version to rubygems
19-
- `gem push OUTPUT_OF_RAKE_BUILD`
20-
4. Update dependent applications
17+
- `rake release`
18+
3. Update dependent applications
2119
- `bundle update vrt`

Rakefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,11 @@ require 'rspec/core/rake_task'
44
RSpec::Core::RakeTask.new(:spec)
55

66
task default: :spec
7+
8+
desc 'Override our build task to ensure VRT git submodules are present'
9+
task 'build' do
10+
submodule_status = `git submodule init && git submodule update`
11+
unless submodule_status.empty?
12+
raise 'git submodules were not up-to-date. Please rebuild!'
13+
end
14+
end

0 commit comments

Comments
 (0)