From 134f6746d388afa4c89ad06bc35ed0ccfc3fc6c7 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 13 Aug 2024 14:13:23 +0100 Subject: [PATCH] chore: fix aegir release Run `aegir release` in workspace modules, otherwise we create bogus github releases for the root module like: - https://github.com/ipfs/helia-delegated-routing-v1-http-api/releases/tag/v1.0.0 - https://github.com/ipfs/helia-delegated-routing-v1-http-api/releases/tag/v1.0.1 - https://github.com/ipfs/helia-delegated-routing-v1-http-api/releases/tag/v1.0.2 Refs: https://github.com/ipfs/helia-delegated-routing-v1-http-api/pull/125#issuecomment-2284640977 --- package.json | 2 +- packages/client/package.json | 3 ++- packages/server/package.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a16a401..a0a8679 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "lint": "aegir run lint", "dep-check": "aegir run dep-check", "release": "run-s build docs:no-publish npm:release docs", - "npm:release": "aegir release", + "npm:release": "aegir run release", "docs": "aegir docs", "docs:no-publish": "aegir docs --publish false" }, diff --git a/packages/client/package.json b/packages/client/package.json index e21f556..3149672 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -41,7 +41,8 @@ "dep-check": "aegir dep-check", "build": "aegir build", "test": "aegir test", - "test:node": "aegir test -t node --cov" + "test:node": "aegir test -t node --cov", + "release": "aegir release" }, "dependencies": { "@libp2p/interface": "^1.1.1", diff --git a/packages/server/package.json b/packages/server/package.json index 693a0b6..7ed78f7 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -61,7 +61,8 @@ "dep-check": "aegir dep-check -i sinon", "build": "aegir build --bundle false", "test": "aegir test -t node", - "test:node": "aegir test -t node --cov" + "test:node": "aegir test -t node --cov", + "release": "aegir release" }, "dependencies": { "@fastify/cors": "^9.0.1",