Skip to content

Commit

Permalink
docs: Add packages publishing workflow
Browse files Browse the repository at this point in the history
Signed-off-by: jld3103 <[email protected]>
  • Loading branch information
provokateurin committed Dec 26, 2023
1 parent 210e11b commit 37c4372
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ If you need to add a new package to the Neon project please make sure to execute
4. Add a Symlink to our main [license](../assets/AGPL-3.0.txt).
5. Update [commitlint.yaml](../commitlint.yaml) by adding the new package name.
6. Remove the package `.gitignore` (a global `.gitignore` for all packages is used instead).

## Publishing new versions of the packages

Because [melos does not support signing-off](https://github.com/invertase/melos/issues/591) yet the process is a little more complicate:

```bash
melos version --no-git-tag-version
melos bootstrap

git add .
git commit --message "chore(release): publish packages" --signoff --no-edit

# Create PR and get it merged

melos publish --git-tag-version
git push --follow-tags
```

Due to [melos not creating a commit when git-tagging is turned off](https://github.com/invertase/melos/issues/622) we have to create the commit manually, and it does not contain the list of updated packages.

0 comments on commit 37c4372

Please sign in to comment.