Create first version of release task [#508]

i think the `finnaly` is kinda unnecessary in this point form my perspective, since the `rollback()` function will be executed by the end everytime. Don't you agree?