Skip to content

Release

沈唁 edited this page Mar 5, 2021 · 5 revisions

Here is the docsify release process.

Steps

  1. Create a release PR. New pull request

You can write the Changelog manually, such as #1524 Waiting for a review from @docsifyjs/reviewers

  1. Pull the latest changes

The develop and master branch should be up to date with the remote.

git clone [email protected]:docsifyjs/docsify.git
  1. Check whether you have npm access or not

If not, please contact @docsifyjs/reviewers

  1. Checkout the develop branch

The current default branch is develop, you can skip this step.

  1. Install dependencies
npm run bootstrap
  1. Run all tests
npm run test
  1. Make sure the lib, theme folder and others are created and verify the numbers of files present in the lib theme and src

  2. Run publish script

npm run pub
  • it will ask for the version, give the version. such as: 4.12.0
  • It will do the release. ed4b5be6
  • It will also push the changes to the develop branch (verify this)

Note: Changelog and test snapshots may need to be updated(npm run test:integration -- -u) a2132c89, 8f3d8c9a

  1. Checkout the master branch
git checkout master
  1. Pull the changes from remote develop
git merge develop
  1. Push the changes to master
git push
  1. Release the version tag in GitHub

go to https://github.com/docsifyjs/docsify/releases

Verify

  1. Check the version of both docsify and docsify-server-renderer in npm
  1. Compare the develop and master branch in our github

there should not be any difference in the commit. both should be same.

  1. Check the changelogs in both branches

  2. The release PR (4.12.0) should be merged/closed automatically by now

if not then there is some problem.

Clone this wiki locally