aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mkimage-yaml.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/mkimage-yaml.sh b/scripts/mkimage-yaml.sh
index 95fb063f2a..46906d7550 100755
--- a/scripts/mkimage-yaml.sh
+++ b/scripts/mkimage-yaml.sh
@@ -16,6 +16,8 @@ while [ $# -gt 0 ]; do
--branch) branch="$1"; shift;;
--release) release="$1"; shift;;
--flavor) flavor="$1"; shift;;
+ --title) title="$1"; shift;;
+ --desc) desc="$1"; shift;;
--) break ;;
-*) usage; exit 1;;
esac
@@ -50,9 +52,13 @@ for image; do
time=${time%.*}
file=${filepath##*/}
flavor=${file%-${release}-${arch}.*}
+ desc=$(echo "$desc" | sed -E 's/^\s*/ /')
cat <<-EOF
-
+ title: "$title"
+ desc: |
+ $desc
branch: $branch
arch: $arch
version: $release