Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
5 changes: 4 additions & 1 deletion .github/workflows/release-31_promote-rc-to-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ on:
description: Tag matching the actual release candidate with the format polkadot-stableYYMM(-X)-rcX
type: string
required: true
outputs:
final_tag:
description: "Final release tag without RC suffix (e.g., polkadot-stableYYMM)"
value: ${{ jobs.promote-polkadot-rc-to-final.outputs.final_tag || jobs.promote-polkadot-parachain-rc-to-final.outputs.final_tag || jobs.promote-polkadot-omni-node-rc-to-final.outputs.final_tag || jobs.promote-frame-omni-bencher-rc-to-final.outputs.final_tag || jobs.promote-chain-spec-builder-rc-to-final.outputs.final_tag }}


jobs:
Expand All @@ -43,7 +47,6 @@ jobs:
runs-on: ubuntu-latest
outputs:
release_tag: ${{ steps.validate_inputs.outputs.release_tag }}
final_tag: ${{ steps.validate_inputs.outputs.final_tag }}

steps:
- name: Checkout sources
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-70_combined-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
needs: [promote-rc-to-final]
uses: ./.github/workflows/release-40_publish-deb-package.yml
with:
tag: ${{ inputs.release_tag }}
tag: ${{ needs.promote-rc-to-final.outputs.final_tag }}
distribution: ${{ inputs.distribution }}
secrets: inherit

Expand All @@ -95,7 +95,7 @@ jobs:
needs: [promote-rc-to-final]
uses: ./.github/workflows/release-41_publish-rpm-package.yml
with:
tag: ${{ inputs.release_tag }}
tag: ${{ needs.promote-rc-to-final.outputs.final_tag }}
secrets: inherit

# ==============================================
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release-reusable-promote-to-final.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
required: true
type: string

outputs:
final_tag:
description: "Final release tag without RC suffix (e.g., polkadot-stableYYMM)"
value: ${{ jobs.promote-release-artifacts.outputs.final_tag }}

secrets:
AWS_DEFAULT_REGION:
required: true
Expand All @@ -31,6 +36,8 @@ jobs:
promote-release-artifacts:
environment: release
runs-on: ubuntu-latest
outputs:
final_tag: ${{ steps.prepare_final_tag.outputs.FINAL_TAG }}
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_RELEASE_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_RELEASE_SECRET_ACCESS_KEY }}
Expand Down
Loading