diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-04-22 08:27:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-04-22 08:40:49 +0300 |
commit | 24574aef2299925c10eeb9d20a942f36d1d806d4 (patch) | |
tree | e05affad9e645047bddee6a93ca69e11445f50fa /bumper.md | |
parent | 3f68ce4a8e9b295a4b9fc288174f166e229da8b0 (diff) | |
download | bumper-rs-24574aef2299925c10eeb9d20a942f36d1d806d4.tar.gz |
feat: use project's name in git tag template
Diffstat (limited to 'bumper.md')
-rw-r--r-- | bumper.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -146,7 +146,8 @@ 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 --tag=foo-%v 105.12765.42 @@ -155,6 +156,14 @@ 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 |