Skip to content

Commit

Permalink
Add separate Rakefile.release
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd committed Aug 14, 2023
1 parent d8c99f6 commit 2e47ede
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,9 @@ files for further details.
### Release New Version

1. Update and commit CHANGELOG
1. Bump version via `bundle exec rake module:bump:minor` (or major/patch)
1. Bump version via `bundle exec rake -f Rakefile.release module:bump:minor` (or major/patch)
1. Commit `metadata.json`
1. Test build with `bundle exec rake build`
1. Tag release with `bundle exec rake module:tag`
1. Push release to PuppetForge with `bundle exec rake module:push`
1. Push commits to GitHub with `git push`
1. Push tags to GitHub with `git push --tags`
1. Test build with `bundle exec rake -f Rakefile.release module:build`
1. Tag release with `bundle exec rake -f Rakefile.release module:tag`
1. Push release to PuppetForge with `bundle exec -f Rakefile.release rake module:push`
1. Push commits and tags to GitHub with `git push --follow-tags`
6 changes: 6 additions & 0 deletions Rakefile.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require 'puppet_blacksmith/rake_tasks'
Blacksmith::RakeTask.new do |t|
t.tag_pattern = "v%s"
t.tag_sign = true
t.tag_message_pattern = "Tag v%s"
end

0 comments on commit 2e47ede

Please sign in to comment.