-
-
Notifications
You must be signed in to change notification settings - Fork 155
Publishing plugin updates
unless games edited this page Nov 5, 2023
·
1 revision
-
fork Cardinal on github
-
clone your fork
git clone --depth 1 --recursive --shallow-submodules git@github.com:YOUR_GITHUB_ACCOUNT/Cardinal.git
--depth 1
and--shallow-submodules
saves download bandwidth and time
use an existing clone (see details)
- set the origin to your fork inside the root of the Cardinal directory
git remote remove origin
git remote add origin git@github.com:YOUR_FORKED_ACCOUNT/Cardinal.git
- make sure all cardinal code and submodules are updated, to reduce risks of merge conflicts
git pull
git submodule update --init --recursive
- create a new branch at the root of the Cardinal directory for preparing the plugin update
Cardinal/
git checkout -b update-YOUR_PLUGIN
- go into your plugin folder and update it
cd plugins/YOUR_PLUGIN
git checkout YOUR_PLUGINS_MAIN_BRANCH
git pull
Note that the active commit on that plugin folder is going to be the one used by cardinal at the end.
- ping us if any new modules were introduced, so we can add them and check for function/symbol name conflicts with other modules (this last step is automated).
It shouldn't be on single module devs to ensure global compat with other modules, as official Rack does not care, it is Cardinal's job here to ensure they all work together nicely
- commit and push your changes from the root of the Cardinal directory
Cardinal/
git commit -am "updating YOUR_PLUGIN"
git push -u origin update-YOUR_PLUGIN
- open a pull request against the official Cardinal github project