mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-11 14:00:29 +00:00
Rename promotion RC wording to prerelease
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: Pulse Release Pipeline
|
||||
# Optimized: parallel jobs, fast RC path
|
||||
# Optimized: parallel jobs, fast prerelease path
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -13,7 +13,7 @@ on:
|
||||
required: true
|
||||
type: string
|
||||
promoted_from_tag:
|
||||
description: 'Stable only: RC tag being promoted (for example 6.0.0-rc.2)'
|
||||
description: 'Stable only: prerelease tag being promoted (for example 6.0.0-rc.2)'
|
||||
required: false
|
||||
type: string
|
||||
rollback_version:
|
||||
@@ -29,7 +29,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
hotfix_exception:
|
||||
description: 'Stable only: bypass the 72-hour RC soak for urgent customer harm'
|
||||
description: 'Stable only: bypass the 72-hour prerelease soak for urgent customer harm'
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
@@ -503,9 +503,9 @@ jobs:
|
||||
echo "- Promotion channel: ${{ needs.prepare.outputs.is_prerelease == 'true' && 'rc' || 'stable' }}"
|
||||
echo "- Candidate stable tag: ${{ needs.prepare.outputs.tag }}"
|
||||
if [ -n "${{ needs.prepare.outputs.promoted_from_tag }}" ]; then
|
||||
echo "- Promoted RC tag: ${{ needs.prepare.outputs.promoted_from_tag }}"
|
||||
echo "- Promoted prerelease tag: ${{ needs.prepare.outputs.promoted_from_tag }}"
|
||||
else
|
||||
echo "- Promoted RC tag: n/a"
|
||||
echo "- Promoted prerelease tag: n/a"
|
||||
fi
|
||||
echo "- Rollback target: ${{ needs.prepare.outputs.rollback_tag }}"
|
||||
echo "- Rollback command: \`${{ needs.prepare.outputs.rollback_command }}\`"
|
||||
|
||||
@@ -108,7 +108,7 @@ jobs:
|
||||
BASE_VERSION="${BASE_VERSION%%-*}"
|
||||
mapfile -t RC_TAGS < <(git tag -l "v${BASE_VERSION}-rc.*" --sort=-version:refname)
|
||||
if [ "${#RC_TAGS[@]}" -eq 0 ]; then
|
||||
echo "::error::Stable tag ${TAG} has no matching RC tags for base version ${BASE_VERSION}."
|
||||
echo "::error::Stable tag ${TAG} has no matching prerelease tags for base version ${BASE_VERSION}."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
done
|
||||
|
||||
if [ -z "$MATCHED_RC" ]; then
|
||||
echo "::error::Stable tag ${TAG} does not descend from any matching RC tag for base version ${BASE_VERSION}."
|
||||
echo "::error::Stable tag ${TAG} does not descend from any matching prerelease tag for base version ${BASE_VERSION}."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
BASE_VERSION="${BASE_VERSION%%-*}"
|
||||
mapfile -t RC_TAGS < <(git tag -l "v${BASE_VERSION}-rc.*" --sort=-version:refname)
|
||||
if [ "${#RC_TAGS[@]}" -eq 0 ]; then
|
||||
echo "::error::Stable tag ${TAG} has no matching RC tags for base version ${BASE_VERSION}."
|
||||
echo "::error::Stable tag ${TAG} has no matching prerelease tags for base version ${BASE_VERSION}."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
done
|
||||
|
||||
if [ -z "$MATCHED_RC" ]; then
|
||||
echo "::error::Stable tag ${TAG} does not descend from any matching RC tag for base version ${BASE_VERSION}."
|
||||
echo "::error::Stable tag ${TAG} does not descend from any matching prerelease tag for base version ${BASE_VERSION}."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
promoted_from_tag:
|
||||
description: 'Stable rehearsal only: RC tag being promoted (for example v6.0.0-rc.2)'
|
||||
description: 'Stable rehearsal only: prerelease tag being promoted (for example v6.0.0-rc.2)'
|
||||
required: false
|
||||
type: string
|
||||
rollback_version:
|
||||
@@ -24,7 +24,7 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
hotfix_exception:
|
||||
description: 'Stable rehearsal only: bypass 72-hour RC soak for urgent customer harm'
|
||||
description: 'Stable rehearsal only: bypass 72-hour prerelease soak for urgent customer harm'
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
@@ -256,7 +256,7 @@ jobs:
|
||||
SUMMARY_FILE="release-dry-run/rc-to-ga-rehearsal-summary.md"
|
||||
RUN_URL="https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
{
|
||||
echo "# RC-to-GA Rehearsal Summary"
|
||||
echo "# Prerelease-to-GA Rehearsal Summary"
|
||||
echo ""
|
||||
echo "- Workflow run: ${RUN_URL}"
|
||||
echo "- Branch: ${GITHUB_REF_NAME}"
|
||||
@@ -264,7 +264,7 @@ jobs:
|
||||
echo "- Candidate stable tag: ${{ steps.rehearsal.outputs.tag }}"
|
||||
echo "- Promotion channel: ${{ steps.rehearsal.outputs.is_prerelease == 'true' && 'rc' || 'stable' }}"
|
||||
if [ -n "${{ steps.rehearsal.outputs.promoted_from_tag }}" ]; then
|
||||
echo "- Promoted RC tag: ${{ steps.rehearsal.outputs.promoted_from_tag }}"
|
||||
echo "- Promoted prerelease tag: ${{ steps.rehearsal.outputs.promoted_from_tag }}"
|
||||
fi
|
||||
if [ -n "${{ steps.rehearsal.outputs.rollback_tag }}" ]; then
|
||||
echo "- Rollback target: ${{ steps.rehearsal.outputs.rollback_tag }}"
|
||||
|
||||
Reference in New Issue
Block a user