diff options
Diffstat (limited to 'bumper.md')
-rw-r--r-- | bumper.md | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -146,15 +146,24 @@ release for a Python project. ~~~scenario given an installed Bumper -given file foo/setup.py from empty +given file foo/setup.py from setup.py +given file foo/setup.py is executable given file foo/lib/version.py from empty given all files in foo are committed to git -when I run, in foo, bumper 105.12765.42 +when I run, in foo, bumper --tag=foo-%v 105.12765.42 then all changes in foo are committed -then in foo, git tag v105.12765.42 is a signed tag +then in foo, git tag foo-105.12765.42 is a signed tag then file foo/lib/version.py matches regex /__version__\s*=\s*"105\.12765\.42"/ ~~~ +~~~{#setup.py .file .python} +#!/usr/bin/env python3 +from distutils.core import setup +setup( + name="vmdb2", +) +~~~ + --- title: bumper – set version number for a project |