ci(docspublish): make cli_interactive gif regeneration deterministic by bearomorphism · Pull Request #2009 · commitizen-tools/commitizen · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .github/workflows/docspublish.yml
11 changes: 8 additions & 3 deletions docs/images/bump.tape
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,17 @@ Type "cz bump"
Sleep 500ms
Enter

# Wait for the "Is this the first tag created?" prompt
Sleep 2s
# Wait for the "Is this the first tag created?" prompt to render
Wait+Screen /Is this the first tag/

# Small visual pause so the prompt is readable before the answer
Sleep 500ms

# Answer Yes to "Is this the first tag created?" (default is Yes, just press Enter)
Enter
Sleep 3s

# Wait for cz bump to finish (the "Done!" success line is printed last)
Wait+Screen /Done!/

# Step 3: Show new version after bump
Type "cz version --project"
Expand Down
35 changes: 19 additions & 16 deletions docs/images/commit.tape
Original file line number Diff line number Diff line change
Expand Up @@ -29,38 +29,41 @@ Type "cz commit"
Sleep 500ms
Enter

# Wait for first prompt to appear
Sleep 1s

# Question 1: Select the type of change (move down to "feat")
# Q1: prefix -- select the type of change (move down to "feat")
Wait+Screen /Select the type of change/
Sleep 500ms
Down
Sleep 500ms
Enter
Sleep 1s

# Question 2: Scope (optional, skip)
# Q2: scope (optional, skip)
Wait+Screen /What is the scope/
Sleep 500ms
Enter
Sleep 1s

# Question 3: Subject
# Q3: subject
Wait+Screen /imperative summary/
Sleep 500ms
Type "awesome new feature"
Sleep 500ms
Enter
Sleep 1s

# Question 4: Is this a BREAKING CHANGE? (No)
# Q4: body (optional, skip)
Wait+Screen /additional contextual information/
Sleep 500ms
Enter
Sleep 1s

# Question 5: Body (optional, skip)
# Q5: is_breaking_change (No)
Wait+Screen /BREAKING CHANGE\?/
Sleep 500ms
Enter
Sleep 1s

# Question 6: Footer (optional, skip)
# Q6: footer (optional, skip)
Wait+Screen /Footer\. Information/
Sleep 500ms
Enter
Sleep 1s

# Wait for commit success message
Sleep 1s
Sleep 2s

Source shared/cleanup.tape
50 changes: 27 additions & 23 deletions docs/images/init.tape
Original file line number Diff line number Diff line change
Expand Up @@ -15,51 +15,55 @@ Type "cz init"
Sleep 500ms
Enter

# Wait for welcome message and first prompt
Sleep 500ms
Sleep 1s

# Question 1: Please choose a supported config file
# Q1: Please choose a supported config file
# Default is .cz.toml, just press Enter
Wait+Screen /Please choose a supported config/
Sleep 500ms
Enter
Sleep 1s

# Question 2: Please choose a cz (commit rule)
# Q2: Please choose a cz (commit rule)
# Default is cz_conventional_commits, just press Enter
Wait+Screen /Please choose a cz/
Sleep 500ms
Enter
Sleep 1s

# Question 3: Choose the source of the version
# Default is "commitizen: Fetch and set version in commitizen config, just press Enter"
# Q3: Choose the source of the version
# Default is "commitizen", just press Enter
Wait+Screen /Choose the source of the version/
Sleep 500ms
Enter
Sleep 1s

# Question 4: Choose version scheme
# Q4: Choose version scheme
# Default is semver, just press Enter
Wait+Screen /Choose version scheme/
Sleep 500ms
Enter
Sleep 1s

# Question 5: Please enter the correct version format
# Q5: Please enter the correct version format
# Default is "$version", just press Enter
Wait+Screen /Please enter the correct version format/
Sleep 500ms
Enter
Sleep 1s

# Question 6: Create changelog automatically on bump
# Q6: Create changelog automatically on bump
# Default is Yes, just press Enter
Wait+Screen /Create changelog automatically on bump/
Sleep 500ms
Enter
Sleep 1s

# Question 7: Keep major version zero (0.x) during breaking changes
# Q7: Keep major version zero (0.x) during breaking changes
# Default is Yes, just press Enter
Wait+Screen /Keep major version zero/
Sleep 500ms
Enter
Sleep 1s

# Question 8: What types of pre-commit hook you want to install?
# Default is [commit-msg], just press Enter to accept
# Q8: What types of pre-commit hook you want to install?
# Default is [], just press Enter to accept
Wait+Screen /types of pre-commit hook/
Sleep 500ms
Enter
Sleep 1s

# Wait for completion message
Sleep 1s
Sleep 2s

Source shared/cleanup.tape
14 changes: 6 additions & 8 deletions docs/images/shortcut_custom.tape
Original file line number Diff line number Diff line change
Expand Up @@ -83,23 +83,21 @@ Type "cz commit"
Sleep 500ms
Enter

# Wait for first prompt to appear
Sleep 2s

# Question 1: Select the type of change (press d to "docs")
# Q1: prefix -- press "d" shortcut for "docs"
Wait+Screen /Select the type of change/
Sleep 1s
Type "d"
Sleep 2s
Enter
Sleep 1s

# Question 2: Commit body
# Q2: Commit body
Wait+Screen /Commit body/
Sleep 500ms
Type "demo with custom keys"
Sleep 500ms
Enter
Sleep 500ms

# Wait for commit success message
Sleep 1s
Sleep 2s

Source shared/cleanup.tape
34 changes: 18 additions & 16 deletions docs/images/shortcut_default.tape
Loading