Skip to content

Commit

Permalink
Document where the version needs to be udpated
Browse files Browse the repository at this point in the history
  • Loading branch information
jmaas-onoffice authored Feb 9, 2023
1 parent 1504ed9 commit 5d144bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions documentation/Releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ For general guidance on writing a changelog, see [Keep a Changelog](https://keep
- [Updated the changelog](#update-the-changelog).
2. Update the version number in `readme.txt` and `plugin.php`.
- To check if e.g. version `3.2` is configured correctly, you can run the [Deno](https://deno.land/) script `deno run --allow-read ./scripts/check-version-in-config-files.ts 3.2`. It will guide you through all the places that need to be updated.
- Otherwise, the version needs to be set in the following places:
- In the comment of the `readme.txt` as the `Stable tag`.
- As the newest [changelog](#update-the-changelog) item in `readme.txt`.
- In the comment of the `plugin.php` as the `Version`.
3. Commit the new version with e.g. message "Update to version v3.2".
4. To trigger the release, you create a new tag. This is easiest to do by creating a release on GitHub:
1. Go to https://github.com/onOfficeGmbH/oo-wp-plugin/releases.
Expand Down

0 comments on commit 5d144bf

Please sign in to comment.