Vulcan Next logoVN Live Documentation

Back to documentation index


Release process

Create a release branch

### To the right branch git checkout main && git pull git checkout devel && git pull # cat package.json | grep version # to get the current version # git checkout -b release/<next-version> git merge main # get hot fixes if any git merge devel rm -Rf node_modules yarn install # no missing module surprise yarn upgrade # update versions to latest Vulcan NPM release

Run the app, run tests

yarn run typecheck yarn run lint

# Run mongo in a separate shell yarn run start:mongo

### Test process # Fix any problem that occur during those tests # Check devel run yarn run dev

# Check production run yarn run build yarn run start # test the production app

# Check static build and run yarn run build:static && yarn run start:static # Run tests yarn run test # Run tests specific to Vulcan Next (longer) yarn run test:vn # Test storybook yarn run storybook # Test storybook static build yarn run build:storybook && yarn run start:storybook-static # test storybook static export # Update Chromatic yarn run chromatic # Optionnaly test Docker version (takes a lot of time + not very useful as they don't change often) # yarn run build:docker # yarn run build:test:docker # yarn run start:docker # yarn run test:docker

### Versionning # Complete the migrating documentation if there are breaking changes npm version patch # patch or minor or major depending on the situation # yarn version --new-version <level> # command for yarn v1 # yarn version patch # works only with yarn v2 @see https://github.com/yarnpkg/yarn/issues/5367 yarn run auto-changelog # update changelog git commit -am "bump version"

Deploy

### Deploy git checkout main && git merge release/<next-version> git push ### Update devel branches with fixes git checkout develop && git pull && git merge main && git push


Back to documentation index