Skip to content

Commit

Permalink
Merge pull request #73 from Habbie/target-sort-version
Browse files Browse the repository at this point in the history
build.sh target list: sort as version numbers
  • Loading branch information
Habbie authored Sep 12, 2024
2 parents 5adb8df + 644ac25 commit bb4b892
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 bb4b892

Please sign in to comment.