Skip to content

Commit 8366a00

Browse files
committed
create pull-request
1 parent 2087331 commit 8366a00

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

upgrade/upgrade.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,13 @@ git checkout -b "sqlite-amalgamation-$VERSION"
1717
git commit -m "Upgrade SQLite to version $VERSION" sqlite3-binding.c sqlite3-binding.h sqlite3ext.h
1818
git push origin HEAD
1919

20-
gh pr create --title "Upgrade SQLite to version $VERSION" --body "Automated SQLite upgrade to version $VERSION" --web
20+
MAJOR=$(echo $VERSION | cut -c1-3)
21+
MINOR=$(echo $VERSION | cut -c4-5)
22+
PATCH=$(echo $VERSION | cut -c6-7)
23+
VERSION_STR="${MAJOR}.${MINOR}.${PATCH}"
24+
CHANGELOG_URL="https://www.sqlite.org/releaselog/${VERSION_STR}.html"
25+
26+
gh pr create --title "Upgrade SQLite to version $VERSION" --body "Automated SQLite upgrade to version $VERSION
27+
28+
## Changelog
29+
See: $CHANGELOG_URL" --web

0 commit comments

Comments
 (0)