Update formatting of yaml and fix inplace commands for yq in github action (#107)

This commit is contained in:
Harold Spencer Jr. authored and GitHub committed 2025-10-06 11:52:29 -07:00
1 parent ee7393f5e1
commit 5b506f0466
2 files changed
+26 -24

No files matched your search

+2 -2
View File
@@ -141,9 +141,9 @@ jobs:
env:
IMAGE_RELEASE_TAG: ${{ steps.bump-version.outputs.tag }}
run: |
yq -i '(.ChangeSet[].EntityTags | select(.Key == "Release") | .Value) = "$IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
yq -i '(.ChangeSet[].EntityTags | ( .[] | select(.Key == "Release") ) | .Value) = "$IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
yq -i '.ChangeSet[].DetailsDocument.Version.VersionTitle = "Release $IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
yq -i '(.ChangeSetTags[] | select(.Key == "Release") | .Value) = $IMAGE_RELEASE_TAG' marketplace-revision-release.yaml
yq -i '(.ChangeSetTags[] | ( .[] | select(.Key == "Release") ) | .Value) = $IMAGE_RELEASE_TAG' marketplace-revision-release.yaml
yq -i '.ChangeSetName = "Add New Release $IMAGE_RELEASE_TAG"' marketplace-revision-release.yaml
- name: Update Release Notes in marketplace-revision-release.yaml