This commit is contained in:
Arvids Godjuks authored and GitHub committed 2026-10-14 19:29:05 +01:00
1 parent 6afc3c7821
commit 42c7fcd147
16 files changed
+146 -20

No files matched your search

+7 -1
View File
@@ -11,6 +11,12 @@ If the script fails due to GitHub's 60/hour public access rate limit, you can se
## Packages
The [Publish workflow](../.github/workflows/publish.yml) publishes npm packages and Lua mods when a GitHub release is published.
For this workflow, first merge the changelog and package version updates into `master`, then create and push the release tag on that merged commit.
Create a draft GitHub release for the existing tag and use the GitHub Release Markdown from `scripts/pr_to_changelog.mts` as its notes.
Publishing the draft triggers the workflow; pushing a tag alone does not.
The steps below describe publishing npm packages manually instead.
> [!NOTE]
> You will need commit access to the repository as well publish access to the @clusterio org on npm to do this.
@@ -40,7 +46,7 @@ If the script fails due to GitHub's 60/hour public access rate limit, you can se
```sh
pnpm clean
pnpm -r --filter='./{plugins,packages}/*' publish
pnpm -r --filter='./packages/*' --filter='./plugins/*' --fail-if-no-match publish
```
## Plugins