Skip to content

Commit 839deaf

Browse files
authored
chore(release): factor code, make testable, clarify workflow names (bazel-contrib#3882)
This refactors the release tool code to be more testable and broken up into smaller files. Workflows are also renamed to better match what they do and the command they run.
1 parent cc799f1 commit 839deaf

23 files changed

Lines changed: 1910 additions & 1369 deletions

.github/workflows/on_prepare_release_pr_merged.yml renamed to .github/workflows/release_complete_prepare.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: On PR Merged (Release Prepared)
1+
name: "Release: Complete Prepare"
22

33
on:
44
pull_request:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Generate RC Tag
1+
name: "Release: Create RC"
22

33
on:
44
workflow_dispatch:

.github/workflows/cut_release_branch.yml renamed to .github/workflows/release_create_release_branch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Cut Release Branch
1+
name: "Release: Create Release Branch"
22

33
on:
44
issues:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Prepare Release
1+
name: "Release: Prepare"
22

33
on:
44
workflow_dispatch:

.github/workflows/process_backports.yml renamed to .github/workflows/release_process_backports.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Process Backports
1+
name: "Release: Process Backports"
22

33
on:
44
workflow_dispatch:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Promote RC to Final Release
1+
name: "Release: Promote RC"
22

33
on:
44
workflow_dispatch:

0 commit comments

Comments
 (0)