Skip to content

Commit a357230

Browse files
committed
Update changelog task
- require the gem in Gemfile - update for main branch
1 parent 29098af commit a357230

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ group :test do
1414
gem "codeclimate-test-reporter", "~> 1.0", require: false
1515
end
1616
end
17+
18+
gem "github_fast_changelog"

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ BASH
4848
original_file = './CHANGELOG.md'
4949
new_file = original_file + '.new'
5050
backup = original_file + '.old'
51-
changes = `git rev-list #{ENV['PREVIOUS_VERSION']}...main | bundle exec github_fast_changelog AlchemyCMS/alchemy-devise`
51+
changes = `git rev-list v#{ENV['PREVIOUS_VERSION']}...main | bundle exec github_fast_changelog AlchemyCMS/alchemy-devise`
5252
File.open(new_file, 'w') do |fo|
5353
fo.puts changes
5454
File.foreach(original_file) do |li|

0 commit comments

Comments
 (0)