Skip to content

Commit 72931a5

Browse files
committed
Fix changelog task
Create changelog from current branch. This helps to release back ports in *-stable branches.
1 parent 261e458 commit 72931a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Rakefile

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

0 commit comments

Comments
 (0)