From 6a4b6903cdc8317eabee1bcb9bd760ce5d5c4b35 Mon Sep 17 00:00:00 2001 From: Karishma Chawla Date: Tue, 22 Oct 2024 20:27:37 -0700 Subject: [PATCH] Update release-samples.sh (#1870) Signed-off-by: Karishma Chawla --- .github/scripts/release-samples.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/scripts/release-samples.sh b/.github/scripts/release-samples.sh index 2b698713..cd6c5cf3 100755 --- a/.github/scripts/release-samples.sh +++ b/.github/scripts/release-samples.sh @@ -49,8 +49,12 @@ mv bicepconfig_updated.json bicepconfig.json BICEPCONFIG_AWS_STRING_REPLACEMENT="br:biceptypes.azurecr.io/aws:${CHANNEL}" awk -v REPLACEMENT="${BICEPCONFIG_AWS_STRING_REPLACEMENT}" '{gsub(/br:biceptypes\.azurecr\.io\/aws:latest/, REPLACEMENT); print}' bicepconfig.json > bicepconfig_updated.json mv bicepconfig_updated.json bicepconfig.json +echo "View updated bicepconfig..." +cat bicepconfig.json # Push changes to GitHub +echo "Running git diff..." +git diff git add --all git commit -m "Update samples for ${CHANNEL_VERSION}" git push origin "${CHANNEL_VERSION}"