Skip to content

Commit 6101b58

Browse files
Merge #549
549: Update contributing guide for plugin Strapi v3 release r=bidoubiwa a=bidoubiwa Update the steps to publish the strapi v3 compatible plugin Co-authored-by: Charlotte Vermandel <[email protected]> Co-authored-by: cvermand <[email protected]>
2 parents 1cabc53 + 764e8b4 commit 6101b58

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: publish to npm
22
on:
33
push:
44
tags:
5-
- v0.*.*-strapi-v3
5+
- v*.*.*-strapi-v3.*
66

77
jobs:
88
publish-npm:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,5 @@ cypress/screenshots
126126
cypress/videos
127127
cypress/plugins
128128
cypress/fixtures
129+
130+
.tmp

CONTRIBUTING.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,17 @@ _[Read more about this](https://github.com/meilisearch/integration-guides/blob/m
125125
Make a PR modifying the file [`package.json`](/package.json) with the right version.
126126

127127
```javascript
128-
"version": "X.X.X",
128+
"version": "X.X.X-strapi-v3.X",
129129
```
130130

131-
Once the changes are merged on `main`, you can publish the current draft release via the [GitHub interface](https://github.com/meilisearch/strapi-plugin-meilisearch/releases): on this page, click on `Edit` (related to the draft release) > update the description (be sure you apply [these recommandations](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md#writting-the-release-description)) > when you are ready, click on `Publish release`.
131+
Once the changes are merged on `v3_main`, create a release via the [GitHub interface](https://github.com/meilisearch/strapi-plugin-meilisearch/releases):
132+
- The title should be `vX.X.X-strapi-v3.X`, same as in `package.json` prefixed by a `v`.
133+
- The new tag should have the same name as the title.
134+
- Click on `Edit` (related to the draft release) and update the description (be sure you apply [these recommendations](https://github.com/meilisearch/integration-guides/blob/main/resources/integration-release.md#writting-the-release-description)).
135+
- ⚠️ Point the release to the `v3_main` branch and not `main`.
136+
- When you are ready, click on `Publish release`.
132137

133-
GitHub Actions will be triggered and push the package to [npm](https://www.npmjs.com/package/strapi-plugin-meilisearch).
138+
GitHub Actions will be triggered and push the package to [npm](https://www.npmjs.com/package/strapi-plugin-meilisearch) on the `strapi_v3` tag.
134139

135140
<hr>
136141

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strapi-plugin-meilisearch",
3-
"version": "0.6.0-strapi-v3",
3+
"version": "0.6.0-strapi-v3.0",
44
"description": "Synchronise and search in your Strapi v3.x.x collections with Meilisearch",
55
"scripts": {
66
"style": "eslint --ext .js .",

0 commit comments

Comments
 (0)