diff --git a/.github/workflows/promote-release.yml b/.github/workflows/promote-release.yml index ee5032647..e59fa4a96 100644 --- a/.github/workflows/promote-release.yml +++ b/.github/workflows/promote-release.yml @@ -69,8 +69,11 @@ jobs: env: GH_TOKEN: ${{ steps.app-token.outputs.token }} RC_TAG: ${{ inputs.rc_tag }} + STABLE_TAG: ${{ steps.version.outputs.stable_tag }} run: | BODY=$(gh release view "$RC_TAG" --json body -q .body) + STABLE_VERSION="${STABLE_TAG#v}" + BODY=$(echo "$BODY" | sed "1s/^.*-rc\.[0-9]* /$STABLE_VERSION /") { echo "body<> "$GITHUB_OUTPUT" - name: create stable release