summaryrefslogtreecommitdiff
path: root/bumper.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-03-28 13:19:02 +0300
committerLars Wirzenius <liw@liw.fi>2021-03-28 16:26:45 +0300
commitc444c915fc349ee345080aa4d151f9416b5c0ab8 (patch)
treeea41a40f3e29db50758d1f9d3744b7b78702743b /bumper.md
parent81fa9799b1393f427e4095978285cabbaa809735 (diff)
downloadbumper-rs-c444c915fc349ee345080aa4d151f9416b5c0ab8.tar.gz
feat: create git tag for release
Diffstat (limited to 'bumper.md')
-rw-r--r--bumper.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/bumper.md b/bumper.md
index fcf4005..a1bb929 100644
--- a/bumper.md
+++ b/bumper.md
@@ -81,6 +81,31 @@ then only files random.txt exist
Some random text file Bumper knows nothing about.
~~~
+## Creates a release tag
+
+This scenario verifies that Bumper creates a git tag to mark a
+release. For this to work, Bumper needs to recognize the type of
+project. We use a Rust project for simplicity.
+
+~~~scenario
+given an installed Bumper
+given file foo/Cargo.toml from Cargo.toml
+given all files in foo are committed to git
+given the HEAD commit in foo is COMMIT
+when I run, in foo, bumper 1.2
+then in foo, git tag v1.2 is a signed tag pointing at <COMMIT>
+~~~
+
+~~~{#Cargo.toml .file .ini}
+[package]
+name = "foo"
+version = "0.1.0"
+authors = ["J. Random Hacker <jr@example.com>"]
+edition = "2018"
+
+[dependencies]
+~~~
+
---
@@ -96,4 +121,6 @@ functions:
- subplot/bumper.py
- subplot/vendored/files.py
- subplot/vendored/runcmd.py
+classes:
+- ini
...