Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
let branch = "release/1.0.0"
try utils.git.createBranch(branch)
try utils.shell.runAndPrint(bash: "swift build")
try utils.git.addAll()
try utils.git.commitAll(message: "[\(branch)] Bump version")
try utils.git.tag(version)
try utils.git.push(remote: "origin", branch: branch, tags: true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment