File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -134,14 +134,16 @@ jobs:
134134 exit 1
135135 fi
136136
137+ source_repo_url="https://github.com/${SOURCE_REPO}"
138+ source_commit_url="${source_repo_url}/commit/${SOURCE_SHA}"
137139 notes_file="${RUNNER_TEMP}/nsc-release-notes.md"
138140 cat > "${notes_file}" <<EOF
139- Promoted NSC payload from \`${SOURCE_REPO}\`.
141+ Promoted NSC payload from [ \`${SOURCE_REPO}\`](${source_repo_url}) .
140142
141- - source commit: \`${SOURCE_SHA}\`
143+ - source commit: [ \`${SOURCE_SHA}\`](${source_commit_url})
142144 - source branch: \`${SOURCE_BRANCH}\`
143145 - source event: \`${SOURCE_EVENT}\`
144- - source run: ${ RUN_URL}
146+ - source run: [\`${RUN_ID}\`](${ RUN_URL})
145147 EOF
146148
147149 release_exists=false
@@ -167,6 +169,11 @@ jobs:
167169 echo "Release ${RELEASE_TAG} already exists in ${ASSET_REPO}. Reusing immutable release."
168170 fi
169171
172+ gh release edit "${RELEASE_TAG}" \
173+ --repo "${ASSET_REPO}" \
174+ --title "${RELEASE_TAG}" \
175+ --notes-file "${notes_file}"
176+
170177 - name : Update manifests and tag pin
171178 id : manifest-diff
172179 env :
You can’t perform that action at this time.
0 commit comments