Skip to content

Commit

Permalink
Add changelog release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiname committed Oct 18, 2023
1 parent cb90e84 commit 2290754
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/common-algorand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2290754

Please sign in to comment.