Skip to content

Commit

Permalink
ci: call release-final from -prepare workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Dec 17, 2024
1 parent eafb5d9 commit e1993e9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-final.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: "[Release] Publish packages and apps"
on:
workflow_call:
inputs:
ref:
type: string
description: "the ref (branch) to release from"
required: false
default: main
workflow_dispatch:
inputs:
app:
Expand All @@ -17,13 +24,6 @@ on:
required: false
default: main

workflow_run:
workflows:
- \[Release\] Prepare for releasing
- \[Release\](Hotfix) Prepare for releasing
types:
- "completed"

jobs:
release:
name: Release
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/release-prepare-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,11 @@ jobs:
gh pr create --title ":rotating_light: Hotfix Release merge conflicts" -F .github/templates/hotfix-release-conflicts.md --base release --head support/hotfix-release-merge-conflicts
fi
fi
release-final:
name: "[Release] Publish packages and apps"
needs: prepare-release
uses: LedgerHQ/ledger-live/.github/workflows/release-final.yml@develop
with:
ref: hotfix
secrets: inherit
8 changes: 8 additions & 0 deletions .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,11 @@ jobs:
git checkout -b support/release-merge-conflicts
git push origin support/release-merge-conflicts
gh pr create --title ":rotating_light: Release merge conflicts" -F .github/templates/release-conflicts.md --base develop --head support/release-merge-conflicts
release-final:
name: "[Release] Publish packages and apps"
needs: prepare-release
uses: LedgerHQ/ledger-live/.github/workflows/release-final.yml@develop
with:
ref: main
secrets: inherit

0 comments on commit e1993e9

Please sign in to comment.