Skip to content

Commit

Permalink
Merge branch 'edge' into kachawla-release-sample-update
Browse files Browse the repository at this point in the history
  • Loading branch information
kachawla authored Oct 23, 2024
2 parents 1ea2242 + 6a4b690 commit e58b5b4
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 e58b5b4

Please sign in to comment.