improve release procedure documentation

This commit is contained in:
Daniel Waxweiler 2021-01-16 15:21:16 +01:00
parent 1df834cbca
commit ac9cca3b26
1 changed files with 5 additions and 3 deletions

View File

@ -13,9 +13,11 @@
### Release procedure
1. Make sure `changelog.txt` is up-to-date. Use a new version number and copy over the new section into `readme.txt`.
2. Build: `npm run build-prod`
3. Determine minimum PHP version for code and update package.json if needed: `./vendor/bin/phpcompatinfo analyser:run ./source`
4. Make sure screenshots are up-to-date.
2. Update `package.json` with the same version number.
3. Build: `npm run build-prod`
4. Determine minimum PHP version for code and update package.json if needed: `./vendor/bin/phpcompatinfo analyser:run ./source`
5. Make sure screenshots are up-to-date.
6. Copy the built plugin into `/trunk` of SVN. Also creatte a new tag of the new version. Check the version number occurences in both folders. Commit everything together.
### Other commands
- Run tests: `npm test`