Commit 39a0cbd8 authored by Guido Gunther's avatar Guido Gunther
Browse files

gbp: ensure snapshot nubmers increase with each commit

See

    http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.snapshots.html
parent e7fe3f91
- name: Ensure gbp.conf
template:
src: templates/gbp.conf.j2
dest: /etc/git-buildpackage/gbp.conf
[dch]
# Ensure snapshot numbers increase with each commit
snapshot-number = os.popen("git log --pretty=oneline | wc -l").readlines()[0]
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