Skip to content

Commit

Permalink
build.sh target list: sort as version numbers
Browse files Browse the repository at this point in the history
before:

Targets:
  centos-10
  centos-7
  rocky-8
  rocky-9
  sdist

after:

Targets:
  centos-7
  centos-10
  rocky-8
  rocky-9
  sdist
  • Loading branch information
Habbie committed Aug 9, 2024
1 parent f2c8c68 commit e597e3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ usage() {
echo " -r URL - Use URL as registry mirror"
echo
echo "Targets:"
ls -1 $BUILDER_SUPPORT_ROOT/dockerfiles/Dockerfile.target.* | sed 's/.*Dockerfile.target.//' | sed 's/^/ /'
ls -1 $BUILDER_SUPPORT_ROOT/dockerfiles/Dockerfile.target.* | sed 's/.*Dockerfile.target.//' | sed 's/^/ /' | sort -V

echo
[ -f "$BUILDER_SUPPORT_ROOT/usage.include.txt" ] && cat "$BUILDER_SUPPORT_ROOT/usage.include.txt"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# bogus target for sort testing

0 comments on commit e597e3a

Please sign in to comment.