Skip to content

Commit

Permalink
Add hints for creating a release branch
Browse files Browse the repository at this point in the history
  • Loading branch information
smortex committed Feb 14, 2023
1 parent d8b6ecf commit 7f88849
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/voxpupuli/release/rake_tasks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,17 @@

desc "Prepare a release"
task "release:prepare" do
v = Blacksmith::Modulefile.new.version
Rake::Task["release:porcelain:changelog"].invoke
Rake::Task["strings:generate:reference"].invoke if File.exist?('REFERENCE.md')
puts <<~MESSAGE
Please review these changes and commit them to a new branch:
git checkout -b release-#{v}
git commit -m "Release #{v}"
Then open a Pull-Request and wait for it to be reviewed and merged).
MESSAGE
end

begin
Expand Down

0 comments on commit 7f88849

Please sign in to comment.