From 8366a001c1c4d13979f74d1fd370ad6c36e91c46 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 4 Mar 2026 09:14:31 +0900 Subject: [PATCH] create pull-request --- upgrade/upgrade.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/upgrade/upgrade.sh b/upgrade/upgrade.sh index 9dbd03b..e8c82a8 100755 --- a/upgrade/upgrade.sh +++ b/upgrade/upgrade.sh @@ -17,4 +17,13 @@ git checkout -b "sqlite-amalgamation-$VERSION" git commit -m "Upgrade SQLite to version $VERSION" sqlite3-binding.c sqlite3-binding.h sqlite3ext.h git push origin HEAD -gh pr create --title "Upgrade SQLite to version $VERSION" --body "Automated SQLite upgrade to version $VERSION" --web +MAJOR=$(echo $VERSION | cut -c1-3) +MINOR=$(echo $VERSION | cut -c4-5) +PATCH=$(echo $VERSION | cut -c6-7) +VERSION_STR="${MAJOR}.${MINOR}.${PATCH}" +CHANGELOG_URL="https://www.sqlite.org/releaselog/${VERSION_STR}.html" + +gh pr create --title "Upgrade SQLite to version $VERSION" --body "Automated SQLite upgrade to version $VERSION + +## Changelog +See: $CHANGELOG_URL" --web