File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,13 @@ private_lane :release_gem do |options|
5959end
6060
6161private_lane :changelog do
62- # regenerate changelog
63- ensure_git_status_clean
64- sh "cd .. && github_changelog_generator -t $GITHUB_TOKEN"
62+ # regenerate changelog
63+ ensure_git_status_clean
64+ sh "cd .. && github_changelog_generator -t $GITHUB_TOKEN"
6565
66- # commit the changes
67- sh "cd .. && git commit -am 'changelog' && git push"
68- ensure_git_status_clean
66+ # commit the changes
67+ sh "cd .. && git commit -am 'changelog' && git push"
68+ ensure_git_status_clean
6969end
7070
7171private_lane :release_github do |options |
@@ -77,10 +77,8 @@ private_lane :release_github do |options|
7777 raise "GitHub release #{ version } already exists!" if github_release
7878
7979 # regenerate changelog
80- changelog
81-
8280 # open the changelog so that we can copy the changes into clipboard
83- sh "cd .. && subl CHANGELOG.md"
81+ sh "cd .. && github_changelog_generator -t $GITHUB_TOKEN && subl CHANGELOG.md"
8482
8583 # ask for details about the release
8684 title = prompt ( text : 'Title: ' )
You can’t perform that action at this time.
0 commit comments