Commit ab576714 authored by Łukasz Nowak's avatar Łukasz Nowak

The simplest possible git based autonumbering (idea by Julien)

parent 7a84fb0b
from setuptools import setup, find_packages
def getGitIteration():
import subprocess
return str(int(subprocess.Popen(["git", "rev-list", "--count", "HEAD", "--",
"."], stdout=subprocess.PIPE).communicate()[0]))
name = "slapos.recipe.erp5"
version = '1.1-dev-9'
version = '1.1-dev-' + getGitIteration()
def read(name):
return open(name).read()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment