Skip to content

Commit

Permalink
docs: include tagging in release steps in CONTRIBUTING.md (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
johannes-lindgren authored Nov 1, 2024
1 parent 71272ee commit 0e8bc83
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,15 @@ This will prompt you to select which package (`@storyblok/field-plugin` or `@sto

Once this pull request is reviewed and merged, you'll get a commit like [this](https://github.com/storyblok/field-plugin/commit/b4bd948ce3d26f0905352ddbe474ebc9e2f89159).

Then, go to [Releases](https://github.com/storyblok/field-plugin/releases) and create a new release. The title should follow the format `<PACKAGE-NAME>@<VERSION>`. Examples:
Then, go to [Releases](https://github.com/storyblok/field-plugin/releases) and draft a new release:

- `@storyblok/[email protected]`
- `@storyblok/[email protected]`
- Create a tag with the format `<PACKAGE-NAME>@<VERSION>`; for example, `@storyblok/[email protected]` and `@storyblok/[email protected]`
- Set the title to the same name.
- Generate release notes, and ensure that the content is accurate; for example, check that there are no missing bullet points, and check that library changes should not be listed in CLI release notes.

You can find a sample release [here](https://github.com/storyblok/field-plugin/releases/tag/%40storyblok%2Ffield-plugin-cli%400.0.1-beta.2). Make sure you write accurate changelogs, ensuring that library changes are not included in a CLI release and vice versa.
You can find a sample release [here](https://github.com/storyblok/field-plugin/releases/tag/%40storyblok%2Ffield-plugin-cli%400.0.1-beta.2).

Once a release is created, one of the two GitHub Actions - [.github/workflows/npm-publish-library.yml](https://github.com/storyblok/field-plugin/blob/main/.github/workflows/npm-publish-library.yml) or [.github/workflows/npm-publish-cli.yml](https://github.com/storyblok/field-plugin/blob/main/.github/workflows/npm-publish-cli.yml) - will run and deploy it to NPM.
Once a release is created, one of the two GitHub Actions[.github/workflows/npm-publish-library.yml](https://github.com/storyblok/field-plugin/blob/main/.github/workflows/npm-publish-library.yml) or [.github/workflows/npm-publish-cli.yml](https://github.com/storyblok/field-plugin/blob/main/.github/workflows/npm-publish-cli.yml)will run and deploy the corresponding package to npm.

### Order of releases

Expand Down

0 comments on commit 0e8bc83

Please sign in to comment.