Skip to content

Instantly share code, notes, and snippets.

@shafayathossain
Created December 1, 2021 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shafayathossain/6f37098a08066d0e57bb7cc3da2a6629 to your computer and use it in GitHub Desktop.
Save shafayathossain/6f37098a08066d0e57bb7cc3da2a6629 to your computer and use it in GitHub Desktop.
After successful execution of all task, this block is called
desc "After successful execution of all task, this block is called"
after_all do
git_add(path: "*")
git_commit(
path: "*",
message: "#" + UPDATED_VERSION_CODE + " released"
)
push_to_git_remote(
local_branch: buildConfigs.key(options[:buildConfig]),
remote: "origin",
remote_branch: buildConfigs.key(options[:buildConfig]),
tags: true,
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment