From 3a4c5d3b51cb036e96ebbd2ad223aba38d4a896f Mon Sep 17 00:00:00 2001 From: Karishma Chawla Date: Fri, 11 Oct 2024 13:26:15 -0700 Subject: [PATCH] Update release-samples.sh 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}"