From 2290754c25aa18b257e9d99a52f7e2c7b7125df1 Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Wed, 18 Oct 2023 16:05:51 +1300 Subject: [PATCH] Add changelog release scripts --- packages/common-algorand/package.json | 3 ++- packages/node/package.json | 3 ++- packages/types/package.json | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/common-algorand/package.json b/packages/common-algorand/package.json index 08f482e7..18128b9b 100644 --- a/packages/common-algorand/package.json +++ b/packages/common-algorand/package.json @@ -5,7 +5,8 @@ "scripts": { "build": "rm -rf dist && tsc -b", "test": "echo \"Error: no test specified\" && exit 1", - "format": "prettier --write \"src/**/*.ts\"" + "format": "prettier --write \"src/**/*.ts\"", + "changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-algorand\" --release-prefix=\"common-algorand/\"" }, "homepage": "https://github.com/subquery/subql", "repository": "github:subquery/subql-algorand", diff --git a/packages/node/package.json b/packages/node/package.json index 8b4332a6..c545dd68 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -10,7 +10,8 @@ "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", "start:dev": "nodemon", - "start:prod": "node dist/main" + "start:prod": "node dist/main", + "changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-algorand\" --release-prefix=\"node-algorand/\"" }, "homepage": "https://github.com/subquery/subql", "repository": "github:subquery/subql-algorand", diff --git a/packages/types/package.json b/packages/types/package.json index 099fb6f3..79718f83 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -6,7 +6,8 @@ "repository": "github:subquery/subql-algorand", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "rm -rf dist && tsc -b" + "build": "rm -rf dist && tsc -b", + "changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-algorand\" --release-prefix=\"types-algorand/\"" }, "author": "Ian He", "main": "dist/index.js",