Skip to content

Commit 7e32a8a

Browse files
committed
fix(set-imgpkg-bundle-as-vendir-path): Use correct yq syntax for sorting
1 parent 6a58fd7 commit 7e32a8a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ All notable changes to this project will be documented in this file.
99
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
1010
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1111

12+
## [1.3.1] - 2025-12-07
13+
14+
### Fixed
15+
16+
- set-imgpkg-bundle-as-vendir-path: Use correct yq syntax for sorting
17+
1218
## [1.3.0] - 2025-12-07
1319

1420
### Added

set-imgpkg-bundle-as-vendir-path/action.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ yq -i "
2727
.directories[] | select(.path == \"channels\");
2828
.contents = [{\"path\": \"$CHANNEL_NAME\", \"imgpkgBundle\": {\"image\": \"$IMGPKG_BUNDLE_IMAGE\"}}] + .contents
2929
| .contents |= unique_by(.path)
30-
| sort_by(.path)
30+
| .contents |= sort_by(.path)
3131
)
3232
| .directories |= sort_by(.path == \"channels\" | not)
3333
" "$VENDIR_FILE"

0 commit comments

Comments
 (0)