You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-t --tag-commit Actually tag HEAD with the version number computed.
33
-
34
-
-l --latest=<tag-glob>
35
-
36
-
Specify a glob pattern to search for last matching tag instead of
37
-
providing a specific ref.
38
-
Will attempt to use everything after <tag-glob> as the version string
39
-
so be sure to provide _entire_ prefix.
40
-
E.g. use "R_" if your versions are "R_1.2.3"
41
-
42
-
-p --prefix=<prefix>
43
-
44
-
Specify a prefix to add before the resulting version string
45
-
46
-
-s --special=<postfix>
47
-
48
-
Specify the "special" part of the resulting version string.
49
-
This is any part of the version string that comes after the dash,
50
-
e.g. in 1.3.4-SNAPSHOT it is the string "SNAPSHOT".
51
-
Note this is for the "output" side.
52
-
PlusBump will accept any special string on the input and preserve it,
53
-
unless you specify `--special=""` or something else.
54
-
55
-
-a --majorpattern=<major_pattern>
56
-
57
-
Specify an alternative (regex) pattern that indicates a major version bump.
58
-
E.g. --majorpattern='\+major'
59
-
60
-
-i --minorpattern=<minor_pattern>
61
-
62
-
Specify an alternative (regex) pattern that indicates a minor version bump.
63
-
E.g. --minorpattern='\+minor'
64
-
```
65
-
66
-
67
22
### Helping users
68
23
If you decide to require bumps on every commit (e.g. instead of assuming +patch as default), then it can be very helpful to users set up a push hook (pre-receive on Git) that rejects commits without a bump.
69
24
@@ -78,3 +33,10 @@ It allows the `+bump` message to appear anywhere in the commit message as long a
78
33
79
34
## CodeScene analysis
80
35
[ Get more details at **codescene.io**.](https://codescene.io/projects/2928/jobs/latest-successful/results)
36
+
=======
37
+
### Developer guide
38
+
39
+
#### How to test
40
+
41
+
Simply run `rake` for the simple test without output, and `rake doc` for the more verbose output. Test are located in the `spec` folder.
0 commit comments