Skip to content

Commit

Permalink
Format the output so next steps are easier to read (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcouball committed Jan 9, 2024
1 parent 5442745 commit 0ed4549
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions exe/create-github-release
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,29 @@ puts unless options.quiet
CreateGithubRelease::ReleaseTasks.new(project).run

puts <<~MESSAGE unless project.quiet
SUCCESS: created release '#{project.next_release_tag}'
Next steps:
* Review the release notes:
#{project.release_url}
#{project.release_url}
* Get someone to review and approve the release pull request:
#{wait_for_non_nil(-> { project.release_pr_url }, max_attempts: 10, sleep_time: 0.5)}
#{wait_for_non_nil(-> { project.release_pr_url }, max_attempts: 10, sleep_time: 0.5)}
* Merge the pull request manually from the command line with the following
commands:
git checkout #{project.default_branch}
git merge --ff-only #{project.release_branch}
git push
git checkout #{project.default_branch}
git merge --ff-only #{project.release_branch}
git push
* Wait for the CI build to pass on the default branch and then release the
gem with the following command:
rake release:rubygem_push
rake release:rubygem_push
MESSAGE

0 comments on commit 0ed4549

Please sign in to comment.