diff --git a/HOW_TO_RELEASE.md b/HOW_TO_RELEASE.md index d21c823..cca45a5 100644 --- a/HOW_TO_RELEASE.md +++ b/HOW_TO_RELEASE.md @@ -1,9 +1,9 @@ -1. Update version in package.json - * Use semantic versioning "X.Y.Z" -2. Re-build project (js/css bundling and minification in the ./dist folder) -3. Commit & push to develop -4. Merge develop to master -5. Create tag & release at https://github.com/gnpis/trait-ontology-widget/releases/new +Starting from develop (with all fixes, features etc. already merged and tested) + +0. Make sure you have updated the built bundle (in the ./dist folder) running `./build.sh` +1. Merge develop into master +2. Update project version using `npm version [major|minor|patch]` (will also commit and create a tag) +3. Release at https://github.com/gnpis/trait-ontology-widget/releases/new * Use the version in package.json as the release name & tag name * Add changelogs in release description -6. Re-deploy JSS & CSS were used (ex: https://urgi.versailles.inra.fr/files/ephesis/trait-ontology/widget-v2/) +4. Re-deploy JSS & CSS were used (ex: https://urgi.versailles.inra.fr/files/ephesis/trait-ontology/widget-v2/)