<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def release():
 """Release a new version"""

    release_check()
    build()
    print("Releasing %s version %s." % (env.projname, env.version))
    local("git tag %s" % env.version)
    local('gpg --detach-sign --armor dist/coursera-*.tar.gz*')
    local('twine upload dist/coursera-*.tar.gz*')
    local("git push")
    local("git push --tags")