Skip to content

Commit d1e810c

Browse files
authored
swap stack and version vars (#444)
Signed-off-by: Jordan Dubrick <jdubrick@redhat.com>
1 parent bf40d90 commit d1e810c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/generate_last_mod_file.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ grab_stacks() {
2525
for filename in $(git ls-tree -r --name-only HEAD); do
2626
if [[ $filename == *"stacks/"*"/devfile"* ]]; then
2727
directory=$(dirname "$filename")
28-
version=$(yq -r .metadata.name $filename)
29-
stack=$(yq -r .metadata.version $filename)
28+
stack=$(yq -r .metadata.name $filename)
29+
version=$(yq -r .metadata.version $filename)
3030
# last commit that modified the entire directory that contains a devfile
3131
last_commit=$(git log -1 --format="%aI" -- "$directory")
3232

0 commit comments

Comments
 (0)