Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.75 KB

maintaining.md

File metadata and controls

32 lines (24 loc) · 1.75 KB

Maintaining

Developing Kap

Run yarn dev in one terminal tab to start watch mode, and in another tab, run yarn start to launch Kap.

We strongly recommend installing an XO editor plugin for JavaScript linting and a Stylelint editor plugin for CSS linting. Both of these support auto-fix on save.

Releasing a new version

(You can do all the steps on github.com)

  • Go to https://github.com/wulkano/kap/releases
  • Click Draft a new release
  • Write the new version, prefixed with v, in the Tag version field (Example: v2.0.0)
  • Leave the Release title field blank
  • Write release notes
  • Click Save draft
  • Change version here to the new version and use the version number as the commit title (Example: 2.0.0)
  • CircleCI will now build the app and add the binaries to the release
  • When CircleCI has attached the binaries to the release, click Edit on the release, and then click Publish release

Releasing a new beta version

  • Check out the beta branch: git checkout beta
  • Rebase from the main branch: git pull --rebase origin main
  • Change the version number in package.json
  • Amend the "Beta build customizations" commit: git add . && git commit --amend
  • Force push to the beta branch: git push --force
  • Tag a release with the version number in package.json and push it: git tag -a "v2.0.0-beta.3" -m "v2.0.0-beta.3" && git push --follow-tags
  • Wait for CircleCI to add the binaries to a new GitHub Releases draft
  • Go to the release draft that is created for you, check This is a pre-release, and press Publish release