Skip to content

Commit

Permalink
Update release-samples.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Karishma Chawla <[email protected]>
  • Loading branch information
kachawla authored Oct 11, 2024
1 parent 85a104c commit 3a4c5d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/release-samples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 3a4c5d3

Please sign in to comment.