From c444c915fc349ee345080aa4d151f9416b5c0ab8 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 28 Mar 2021 13:19:02 +0300 Subject: feat: create git tag for release --- bumper.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'bumper.md') 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 +~~~ + +~~~{#Cargo.toml .file .ini} +[package] +name = "foo" +version = "0.1.0" +authors = ["J. Random Hacker "] +edition = "2018" + +[dependencies] +~~~ + --- @@ -96,4 +121,6 @@ functions: - subplot/bumper.py - subplot/vendored/files.py - subplot/vendored/runcmd.py +classes: +- ini ... -- cgit v1.2.1