Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1006 Bytes

RELEASE.md

File metadata and controls

43 lines (35 loc) · 1006 Bytes

How to create a new release for Kitsu

We release Kitsu versions through Github. Every time a new version is ready, we follow this process:

  1. Upgrade the version number through the npm CLI.
  2. Push changes to master branch.
  3. Run build
  4. Keep the build somewhere
  5. Switch to build branch.
  6. replace dist directory with the new one.
  7. Tag the commit and push the changes to Github

You can un 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

Deployment

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