@@ -164,6 +164,8 @@ runs:
164164 RELEASE_TOOL_PATH : ${{ steps.plan.outputs.tool-path }}
165165 RELEASE_PLAN_PATH : ${{ steps.plan.outputs.plan-path }}
166166 RELEASE_CONFIG_PATH : ${{ inputs.config-path }}
167+ RELEASE_REQUESTED_BY : ${{ inputs.actor }}
168+ RELEASE_TOOL_VERSION : ${{ steps.plan.outputs.tool-version }}
167169 run : |
168170 set -euo pipefail
169171 state_dir="${RUNNER_TEMP}/release-preparation-state"
@@ -189,10 +191,22 @@ runs:
189191 echo "artifact-name=${artifact_name}" >> "${GITHUB_OUTPUT}"
190192 echo "state-dir=${state_dir}" >> "${GITHUB_OUTPUT}"
191193
194+ plan_id="$(php -r '$p=json_decode(file_get_contents($argv[1]),true,512,JSON_THROW_ON_ERROR); echo $p["id"];' "${RELEASE_PLAN_PATH}")"
195+ release_branch="$(php -r '$p=json_decode(file_get_contents($argv[1]),true,512,JSON_THROW_ON_ERROR); echo $p["branch"];' "${RELEASE_PLAN_PATH}")"
196+ planning_base="$(php -r '$p=json_decode(file_get_contents($argv[1]),true,512,JSON_THROW_ON_ERROR); echo $p["planning_base_sha"];' "${RELEASE_PLAN_PATH}")"
197+ release_version="$(php -r '$p=json_decode(file_get_contents($argv[1]),true,512,JSON_THROW_ON_ERROR); echo $p["proposed_version"];' "${RELEASE_PLAN_PATH}")"
198+ release_channel="$(php -r '$p=json_decode(file_get_contents($argv[1]),true,512,JSON_THROW_ON_ERROR); echo $p["channel"];' "${RELEASE_PLAN_PATH}")"
199+
192200 {
193201 echo "## Release preparation"
194202 echo
195- printf -- '- Preparation: `%s`\n' "${preparation_id}"
203+ printf -- '- Requested by: `%s`\n' "${RELEASE_REQUESTED_BY}"
204+ printf -- '- Branch: `%s`\n' "${release_branch}"
205+ printf -- '- Planning base: `%s`\n' "${planning_base}"
206+ printf -- '- Version: `%s` (%s)\n' "${release_version}" "${release_channel}"
207+ printf -- '- release-tool: `%s`\n' "${RELEASE_TOOL_VERSION}"
208+ printf -- '- ReleasePlan: `%s`\n' "${plan_id}"
209+ printf -- '- ReleasePreparation: `%s`\n' "${preparation_id}"
196210 echo "- Pull request: ${pr_url}"
197211 printf -- '- State artifact: `%s`\n' "${artifact_name}"
198212 } >> "${GITHUB_STEP_SUMMARY}"
0 commit comments