Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Rename Ensu release promotion action

Manav Rathi73b83b218c97
diff --git a/.github/docs/ensu-release.md b/.github/docs/ensu-release.md
index aed88d8841..91d757a9bf 100644
--- a/.github/docs/ensu-release.md
+++ b/.github/docs/ensu-release.md
@@ -38,11 +38,11 @@ git cherry-pick <fix-sha>
git push
```
-## Finalize release
+## Promote release
```sh
gh workflow run ensu-release.yml \
- -f action=finalize \
+ -f action=promote \
-f version=0.1.16
```
@@ -54,4 +54,4 @@ This does not create another build. It tags the last RC commit as `ensu-v0.1.16`
> If a build has already reached Play Store or TestFlight, trigger a new workflow run instead of re-running failed jobs so that it gets a new build number.
-`ensu-release.yml` changes release state. If it fails, inspect the failed step before re-running. After it has pushed a branch, created a tag, or moved a draft release, either finish the remaining step manually or undo the partial state first. Cleanup is intentionally late: `action=start` pushes the release branch before deleting the beta draft, and `action=finalize` deletes the release branch last.
+`ensu-release.yml` changes release state. If it fails, inspect the failed step before re-running. After it has pushed a branch, created a tag, or moved a draft release, either finish the remaining step manually or undo the partial state first. Cleanup is intentionally late: `action=start` pushes the release branch before deleting the beta draft, and `action=promote` deletes the release branch last.
diff --git a/.github/workflows/ensu-release.yml b/.github/workflows/ensu-release.yml
index 8e40cf550c..d665914281 100644
--- a/.github/workflows/ensu-release.yml
+++ b/.github/workflows/ensu-release.yml
@@ -11,7 +11,7 @@ on:
type: choice
options:
- start
- - finalize
+ - promote
version:
description: "Release version, e.g. 0.1.16"
required: true
@@ -42,7 +42,7 @@ jobs:
ref: main
- name: Checkout release branch
- if: inputs.action == 'finalize'
+ if: inputs.action == 'promote'
uses: actions/checkout@v6
with:
ref: release/ensu-v${{ inputs.version }}
@@ -93,8 +93,8 @@ jobs:
gh pr create --base main --head "${next_branch}" --title "[ensu] Start Ensu ${next_version}" --body ""
- - name: Finalize release
- if: inputs.action == 'finalize'
+ - name: Promote release
+ if: inputs.action == 'promote'
env:
RELEASE_BRANCH_PUSH_TOKEN: ${{ secrets.RELEASE_BRANCH_PUSH_TOKEN }}
run: |