Skip to content

Commit d622705

Browse files
committed
fix(set-imgpkg-bundle-as-vendir-path): Sort all channels alphabetically
1 parent ca2f3e7 commit d622705

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
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+
## [Unreleased]
13+
14+
### Fixed
15+
16+
- set-imgpkg-bundle-as-vendir-path: Sort all channels alphabetically.
17+
1218
## [1.2.1] - 2025-10-22
1319

1420
### Fixed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +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)
3031
)
3132
| .directories |= sort_by(.path == \"channels\" | not)
3233
" "$VENDIR_FILE"

0 commit comments

Comments
 (0)