-
Notifications
You must be signed in to change notification settings - Fork 0
/
git-lastRelease-v0.8.3.js
executable file
·45 lines (43 loc) · 1.56 KB
/
git-lastRelease-v0.8.3.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env node
process.argv = process.argv.map((arg) => arg.replace(/thoughtful-backup\/.*/g, 'thoughtful-backup'))
require('./mock-kit')({
'describe|--long|--match|v*': {
stdout: 'v0.8.3-0-g3f5e3fa'
},
'log|--no-merges|--pretty=tformat:* %h %s - %an|v0.8.3..': {
stdout: 'log|--no-merges|--pretty=tformat:* %h %s - %an|v0.8.3..'
},
'log|--no-merges|--pretty=tformat:* [%h](https://github.com/nknapp/bootprint/commit/%h) %s - %an|v0.8.3..': {
stdout: 'log|--no-merges|--pretty=tformat:* [%h](https://github.com/nknapp/bootprint/commit/%h) %s - %an|v0.8.3..'
},
'log|--no-merges|--pretty=tformat:* %h %s - %an|v0.8.3..v0.8.5': {
stdout: 'log|--no-merges|--pretty=tformat:* %h %s - %an|v0.8.3..v0.8.5'
},
"-c|sequence.editor='thoughtful' sequence-editor|rebase|--interactive|master": {
stdout: 'rebase onto master'
},
"-c|sequence.editor='thoughtful' sequence-editor|rebase|--interactive|stable": {
stdout: 'rebase onto stable'
},
'merge-base|HEAD|master': {
stdout: 'fork-point-master'
},
'merge-base|HEAD|stable': {
stdout: 'fork-point-stable'
},
"-c|sequence.editor='thoughtful' sequence-editor|rebase|--interactive|fork-point-stable": {
stdout: 'Squash to fork-point-stable'
},
"-c|sequence.editor='thoughtful' sequence-editor|rebase|--interactive|fork-point-master": {
stdout: 'Squash to fork-point-master'
},
'rebase|stable': {
stdout: 'Rebase on stable'
},
'rebase|master': {
stdout: 'Rebase on master'
},
'tag|-f|thoughtful-backup': {
stdout: 'Tagging thoughtful-backup'
}
})