docs/demo/ship.tape

8dcfa45a8ac03a5ff9c36828274d05acadcf846c
gitbay/docs/demo/ship.tape history · blame · raw

52 lines · 1311 bytes

 1# Part three: repository, issue, branch, merge request, merge, release,
 2# as the account verify.tape activated.
 3Output docs/demo/out/ship/
 4Source docs/demo/common.tape
 5
 6Type "gitbay repo create zerocool/hello" Enter
 7Wait
 8Sleep 1.2s
 9Type "git clone -q ssh://git@gitbay.org/zerocool/hello.git && cd hello" Enter
10Wait
11Sleep 1.2s
12Type "echo 'hello, world' > README && git add README && git commit -qm 'Say hello'" Enter
13Wait
14Sleep 1.2s
15Type "git push -q origin main" Enter
16Wait
17Sleep 1.2s
18Ctrl+L
19Sleep 400ms
20
21Type "gitbay issue create --title 'Say hello in French' --body 'Bonjour.'" Enter
22Wait
23Sleep 1.2s
24Type "git switch -qc fr && echo 'bonjour, le monde' >> README" Enter
25Wait
26Sleep 1.2s
27Type "git commit -qam 'Say bonjour' && git push -q origin fr" Enter
28Wait
29Sleep 1.2s
30Type "gitbay mr create --source fr --target main --title Bonjour --body 'Closes #1'" Enter
31Wait
32Sleep 1.2s
33Type "gitbay mr merge 1 --strategy squash" Enter
34Wait
35Sleep 1.2s
36Type "gitbay issue list --state closed" Enter
37Wait
38Sleep 1.2s
39Ctrl+L
40Sleep 400ms
41
42Type "# ship it" Enter
43Sleep 600ms
44Type "git switch -q main && git pull -q && git tag v0.1.0 && git push -q origin v0.1.0" Enter
45Wait
46Sleep 1.2s
47Type "gitbay release create v0.1.0 --notes 'Hello in two languages.'" Enter
48Wait
49Sleep 1.2s
50Type "gitbay release list" Enter
51Wait
52Sleep 1.2s