Closed dalu93 closed 5 years ago
Cool, thank you for the PR.
The only thing is that I think it would fail if you launch git checkout -b
with an existing branch, then probably i would suggest to make the branchName mandatory, because using master would make it fail almost for every project.
Something like this:
https://github.com/f-meloni/Rocket/blob/master/Sources/RocketLib/Executors/ScriptExecutor.swift#L6
Everything else is great!
Also can you please add the new step to the README? :) After with those two things i will merge this and release a new version straight away 👍
Thank @f-meloni, I just added a commit addressing your points
Thanks to you @dalu93, will wait the CI and then i will merge it. 👍
Released on 0.5.0
👍
Adding
branch
step as per #18 This should switch branch if it already exists, or create a new one. Thepush
step should push and create the branch remotely, if it doesn't exist.