Shared tools and configuration for kubebb portal.
# add submodule to track main
git submodule add -b main https://github.com/kubebb/portal-contrib.git
# update your submodule
git submodule update --remote
注意需要指定分支,一般要与当前 portal 分支保持一致
当 portal-contrib 有更新时,需要在引用 portal-contrib 的 portal 执行以下命令进行更新:
# update your submodule
git submodule update --remote
# add change
git add portal-contrib
# commit change
git commit -m "chore: update portal-contrib"