We release Kitsu versions through Github. Every time a new version is ready, we follow this process:
- Rebase sources on the master branch.
- Up the version number through the
npm
CLI. - Push changes to
master
branch. - Run the Vue.js build.
- Keep the build somewhere.
- Switch to the
build
branch. - Replace the
dist
directory with the new one. - Tag the commit and push the changes to Github.
You can run the following script to perform these commands at once:
release_number=0.11.32
git pull --rebase origin master
npm version patch
git push origin master --tag
npm i
npm run build
mv dist ..
git checkout build
git pull --rebase origin build
rm -rf dist
mv ../dist .
git add dist
git commit -m "New release ($release_number)"
git tag $release_number-build
git push origin build --tag
git checkout master
Kitsu installation have to update via Git, your Kitsu folder. Run the following command to get the latest version of Kitsu:
git pull --rebase origin build