diff options
Diffstat (limited to 'bin/updateMaxVersion.sh')
-rwxr-xr-x | bin/updateMaxVersion.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/updateMaxVersion.sh b/bin/updateMaxVersion.sh new file mode 100755 index 0000000..7ece3fe --- /dev/null +++ b/bin/updateMaxVersion.sh @@ -0,0 +1,13 @@ +hugoversion=$1 + +git checkout -b hugo-v$hugoversion + +ts-node ./bin/updateMaxVersion.ts $hugoversion + +git add -p + +git commit -m "⬆️ Upgrade Hugo: v$hugoversion" + +git push --set-upstream origin hugo-v$hugoversion + +gh pr create -d --title "⬆️ Upgrade Hugo: v$hugoversion" --body "Upgrades the max compatible version of Hugo to [v$hugoversion](https://github.com/gohugoio/hugo/releases/tag/v$hugoversion)"
\ No newline at end of file |