push_artifacts
A shell script for pushing build artifacts to a remote GitHub repository
Installation
git submodule add https://github.com/kaitai-io/push_artifacts.git
Git commit information
Make sure you set up the Git identity before running the script, otherwise
Git will ask you to "tell it who you are". This can be done using git config
:
git config --global user.name 'Kaitai Bot'
git config --global user.email '[email protected]'
See git commit
> Commit information
for more info.
For kaitai-io repositories, this can be set by running:
./git_config_kaitai_bot
Pulling the latest version from dependent projects
If you want to fetch the latest master
version from
a dependent repo that has push_artifacts
as a submodule,
run this:
git pull --recurse-submodule
git submodule update --remote push_artifacts