Step Priority dan Ordering
Step Priority dan Ordering
Pahami 28 priority entries Custy dan cara entries tersebut menormalisasi merged profile sequence.
STEP_ORDERCategory
Quick Command
lower priority number -> earlier merged-profile positionRingkasanâ
STEP_ORDER adalah global sort-key map yang digunakan saat Custy menggabungkan
dua atau lebih profiles. Lower values ditempatkan lebih awal. Gaps antar-phase
memberi ruang untuk future steps tanpa renumber seluruh pipeline.
Kapan Sorting Diterapkan
Resolver Rules
Single Profile
Multiple Profiles
Repeated Step
Unknown Priority
Merged-Profile Algorithm
Normalization Order
Complete Priority Reference
STEP_ORDER
Lower values diurutkan lebih awal ketika beberapa profiles digabungkan.
| 0 â Initialization_custy_step | Initialization. Buat atau refresh project-owned Custy resources. |
|---|---|
| 10 â ensure_git_repo_step | Validation. Wajibkan execution di dalam Git repository. |
| 11 â ensure_staged_changes_step | Validation. Periksa staged-change requirement untuk commit work. |
| 12 â ensure_commit_validation_provider_step | Validation. Resolve built-in, Commitizen, atau Git-policy message validation. |
| 13 â ensure_commit_hook_policy_step | Validation. Resolve native hooks atau safe direct pre-commit execution. |
| 14 â ensure_commit_message_file_step | Validation. Validasi configured commit-message file setting. |
| 15 â ensure_commit_message_file_exists_step | Validation. Wajibkan commit-message file tersedia. |
| 16 â ensure_version_file_step | Validation. Validasi configured version file. |
| 17 â ensure_tag_message_file_step | Validation. Validasi configured tag-message file setting. |
| 18 â ensure_tag_message_file_exists_step | Validation. Wajibkan tag-message file tersedia. |
| 19 â ensure_remote_exists_step | Validation. Wajibkan resolved Git remote destinations. |
| 30 â prepare_version_step | Preparation. Resolve version dan tag context untuk later stages. |
| 31 â workflow_init_step | Preparation. Initialize branch workflow state dan services. |
| 32 â prepare_tag_message_step | Preparation. Siapkan tag-message content untuk resolved version. |
| 40 â generate_artifacts_step | Generation and editing. Generate configured release artifacts. |
| 41 â edit_files_step | Generation and editing. Buka generated files untuk user review dan editing. |
| 42 â validate_edited_step | Generation and editing. Validasi files setelah editing stage. |
| 43 â apply_version_step | Generation and editing. Terapkan resolved version ke configured project files. |
| 44 â generate_changelog_step | Generation and editing. Jalankan conditional changelog generation. |
| 50 â backup_commit_message_files_step | Backup and cleanup. Backup commit-message content. |
| 51 â backup_tag_message_files_step | Backup and cleanup. Backup tag-message content. |
| 52 â cleanup_backup_step | Backup and cleanup. Terapkan configured backup retention cleanup. |
| 70 â stage_step | Git execution. Stage files yang dipilih workflow. |
| 71 â commit_step | Git execution. Buat local Git commit. |
| 72 â tag_step | Git execution. Buat local Git tag. |
| 73 â push_step | Git execution. Push HEAD dan eligible tag ke resolved remotes. |
| 80 â cleanup_branches_step | Branch cleanup. Jalankan configured branch cleanup behavior. |
| 90 â finalize_step | Finalization. Invoke experimental post-release workflow transitions. |
Worked Example: push + commit
custy run push commit dan custy run commit push saat ini dinormalisasi
menjadi 19 steps yang sama. CLI input order tidak memindahkan push_step
sebelum validation, preparation, atau commit_step.01 ensure_git_repo_step priority 10
02 ensure_staged_changes_step priority 11
03 ensure_commit_validation_provider_step priority 12
04 ensure_commit_hook_policy_step priority 13
05 ensure_commit_message_file_step priority 14
06 ensure_commit_message_file_exists_step priority 15
07 ensure_remote_exists_step priority 19
08 prepare_version_step priority 30
09 workflow_init_step priority 31
10 generate_artifacts_step priority 40
11 edit_files_step priority 41
12 validate_edited_step priority 42
13 apply_version_step priority 43
14 generate_changelog_step priority 44
15 backup_commit_message_files_step priority 50
16 cleanup_backup_step priority 52
17 stage_step priority 70
18 commit_step priority 71
19 push_step priority 73