|
17 | 17 | * [@vsct-jburet](https://github.com/vsct-jburet) |
18 | 18 | * [@MaximeLeFrancois](https://github.com/MaximeLeFrancois) |
19 | 19 | * [@delphes99](https://github.com/delphes99) |
| 20 | + * [@Fabilin](https://github.com/Fabilin) |
20 | 21 |
|
21 | 22 | # GITHUB ACTION FOR PUBLISHING |
22 | 23 |
|
23 | 24 | ## Build, tag and publish new version |
24 | 25 |
|
25 | | -Warning: "Require signed commits" on master branch must be unchecked (https://github.com/theopenconversationkit/tock-react-kit/settings/branch_protection_rules/11667069) |
| 26 | +1. Ensure a milestone exists for the new version (https://github.com/theopenconversationkit/tock-react-kit/milestones) |
| 27 | + and that all relevant issues are assigned to it |
| 28 | +2. Run the [manual release workflow](https://github.com/theopenconversationkit/tock-react-kit/actions/workflows/manual.yaml) |
| 29 | + with the new version number |
| 30 | +3. Create a [GitHub release](https://github.com/theopenconversationkit/tock-react-kit/releases) using the tag created by the workflow |
26 | 31 |
|
27 | | - curl \ |
28 | | - -H "Accept: application/vnd.github.everest-preview+json" \ |
29 | | - -H "Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ |
30 | | - --request POST \ |
31 | | - --data '{"event_type": "publish", "client_payload": {"version": "X.Y.Z"} }' |
32 | | - https://api.github.com/repos/theopenconversationkit/tock-react-kit/dispatches |
| 32 | +### Versioning |
33 | 33 |
|
34 | | -You can also build a beta version using "prerelease" keyword |
| 34 | +Our versioning is based on [Semantic Versioning](https://semver.org), with some tweaks to tie the version to our release schedule: |
| 35 | +- The major and minor components are repurposed to denote respectively the release year and month of the current major version. |
| 36 | + We release two major versions per year, one in March and one in September. |
| 37 | +- The patch version component keeps the same meaning as in semver. We release patch versions at any time. |
| 38 | +- The additional labels for pre-release and build metadata keep the same meaning as in semver |
35 | 39 |
|
36 | | - curl \ |
37 | | - -H "Accept: application/vnd.github.everest-preview+json" \ |
38 | | - -H "Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \ |
39 | | - --request POST \ |
40 | | - --data '{"event_type": "publish", "client_payload": {"version": "prerelease"} }' |
41 | | - https://api.github.com/repos/theopenconversationkit/tock-react-kit/dispatches |
42 | | - |
| 40 | +For example: |
| 41 | +- 23.3.0 is the major version released in March 2023. The next major version is 23.9.0, released in September of the same year. |
| 42 | +- 23.9.2 is the second patch version for the 23.9 major, and may be released any time between September 2023 and March 2024. |
| 43 | +- 24.9.0-beta.1 is the first beta for the upcoming 24.9.0 major version. |
0 commit comments