lib/tasks/changelog.rake in stub_requests-0.1.3 vs lib/tasks/changelog.rake in stub_requests-0.1.4
- old
+ new
@@ -11,17 +11,18 @@
stub_requests
--no-verbose
--token
]
CHECKOUT_CHANGELOG_CMD ||= "git checkout -B update-changelog"
- COMMIT_CHANGELOG_CMD ||= "git add --all"
+ ADD_CHANGELOG_CMD ||= "git add --all"
COMMIT_CHANGELOG_CMD ||= "git commit -a -m 'Update changelog'"
GIT_PUSH_CMD ||= "git push -u origin update-changelog"
OPEN_PR_CMD ||= "hub pull-request -b master -m 'Update Changelog' -a mhenrixon -l changelog"
# rubocop:enable Style/MutableConstant
sh(*CHANGELOG_CMD.push(ENV["CHANGELOG_GITHUB_TOKEN"]))
sh(CHECKOUT_CHANGELOG_CMD)
+ sh(ADD_CHANGELOG_CMD)
sh(COMMIT_CHANGELOG_CMD)
sh(GIT_PUSH_CMD)
sh(OPEN_PR_CMD)
end