xatkit-bot-platform / xatkit

The simplest way to build all types of smart chatbots and digital assistants
https://xatkit.com
Eclipse Public License 2.0
176 stars 22 forks source link

Build fails if master branches haven't been checked out #14

Closed gdaniel closed 4 years ago

gdaniel commented 4 years ago

Following the Build Xatkit article leads to a build error, because the Xatkit parent artifact version is now 4.0.1-SNAPSHOT, but submodules haven't been updated since the latest release.

It's fine that submodules reflect the latest release, but it should be the case for Xatkit parent too. A solution is to also add it as a submodule, or create a branch for 4.0.1-SNAPSHOT.

In any case, a working solution (building the latest development version) is to run the following commands to update all the submodules:

git clone https://github.com/xatkit-bot-platform/xatkit.git
git submodule update --init --recursive
git submodule foreach 'git checkout master'
./build.sh --all --skip-tests --product

Reported by @jcabot

gdaniel commented 4 years ago

Fixed in 83f9c610c707984b020037cd6bb7bca0c267d061