Skip to content

Commit 630c16b

Browse files
committed
Relax NSC promotion note refresh
1 parent 42ebed6 commit 630c16b

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/promote-nsc-channel.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,14 @@ jobs:
167167
gh release upload "${RELEASE_TAG}" "${payload_assets[@]}" --repo "${ASSET_REPO}"
168168
else
169169
echo "Release ${RELEASE_TAG} already exists in ${ASSET_REPO}. Reusing immutable release."
170+
if ! gh release edit "${RELEASE_TAG}" \
171+
--repo "${ASSET_REPO}" \
172+
--title "${RELEASE_TAG}" \
173+
--notes-file "${notes_file}"; then
174+
echo "Skipping release note refresh for existing ${RELEASE_TAG}." >&2
175+
fi
170176
fi
171177
172-
gh release edit "${RELEASE_TAG}" \
173-
--repo "${ASSET_REPO}" \
174-
--title "${RELEASE_TAG}" \
175-
--notes-file "${notes_file}"
176-
177178
- name: Update manifests and tag pin
178179
id: manifest-diff
179180
env:

0 commit comments

Comments
 (0)