diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-03-28 13:19:02 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-03-28 16:26:45 +0300 |
commit | c444c915fc349ee345080aa4d151f9416b5c0ab8 (patch) | |
tree | ea41a40f3e29db50758d1f9d3744b7b78702743b /bumper.md | |
parent | 81fa9799b1393f427e4095978285cabbaa809735 (diff) | |
download | bumper-rs-c444c915fc349ee345080aa4d151f9416b5c0ab8.tar.gz |
feat: create git tag for release
Diffstat (limited to 'bumper.md')
-rw-r--r-- | bumper.md | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -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 ... |