
import invoke

# Based on https://github.com/pyca/cryptography/blob/master/tasks.py


@invoke.task
def release(version):
    invoke.run("git tag -a release-{0} -m \"Tagged {0} release\"".format(version))
    invoke.run("git push --tags")

    invoke.run("python setup.py sdist")
    invoke.run("twine upload dist/pyuv-{0}*".format(version))



import invoke

# Based on https://github.com/pyca/cryptography/blob/master/tasks.py


@invoke.task
def release(version):
    invoke.run("git tag -a pyuv-{0} -m \"pyuv {0} release\"".format(version))
    invoke.run("git push --tags")

    invoke.run("python setup.py sdist")
    invoke.run("twine upload dist/pyuv-{0}*".format(version))


Fix tag names so GitHub generates better filenames
Fix tag names so GitHub generates better filenames

  
  import invoke
  
  # Based on https://github.com/pyca/cryptography/blob/master/tasks.py
  
  
  @invoke.task
  def release(version):
-     invoke.run("git tag -a release-{0} -m \"Tagged {0} release\"".format(version))
+     invoke.run("git tag -a pyuv-{0} -m \"pyuv {0} release\"".format(version))
      invoke.run("git push --tags")
  
      invoke.run("python setup.py sdist")
      invoke.run("twine upload dist/pyuv-{0}*".format(version))
  
  
Fix tag names so GitHub generates better filenames
## Code Before:

import invoke

# Based on https://github.com/pyca/cryptography/blob/master/tasks.py


@invoke.task
def release(version):
    invoke.run("git tag -a release-{0} -m \"Tagged {0} release\"".format(version))
    invoke.run("git push --tags")

    invoke.run("python setup.py sdist")
    invoke.run("twine upload dist/pyuv-{0}*".format(version))


## Instruction:
Fix tag names so GitHub generates better filenames
## Code After:

import invoke

# Based on https://github.com/pyca/cryptography/blob/master/tasks.py


@invoke.task
def release(version):
    invoke.run("git tag -a pyuv-{0} -m \"pyuv {0} release\"".format(version))
    invoke.run("git push --tags")

    invoke.run("python setup.py sdist")
    invoke.run("twine upload dist/pyuv-{0}*".format(version))

