From f836b74508e0c31278da495fc3f56e20540f0703 Mon Sep 17 00:00:00 2001 From: Tanner Mjelde Date: Thu, 2 Jul 2026 12:36:37 -0700 Subject: [PATCH] chore: title hub bump PRs by plugin version, not sha Read version= from runelite-plugin.properties for the bump PR title; fall back to the short sha if the field is missing. Hub manifest still pins the commit sha as required. --- deploy/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 3b72c5e..71fc607 100755 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -85,8 +85,9 @@ git remote add fork "$fork_url" hub_file="plugins/$PLUGIN_NAME" if [[ -f $hub_file ]]; then mode="bump" + version=$(sed -n 's/^version=//p' "$repo_root/runelite-plugin.properties") branch="update-$PLUGIN_NAME-$short" - title="Update $PLUGIN_TITLE to $short" + title="Update $PLUGIN_TITLE to ${version:-$short}" body="Updates $PLUGIN_TITLE to https://github.com/${https_url#https://github.com/}" body="${body%.git}/commit/$sha" else