Skip to content

Commit c3e9b30

Browse files
committed
fix(version): issue #2 second attempt
verison update issue still exists, this is 2nd attempt to fix fix #2
1 parent 2edf549 commit c3e9b30

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read # for checkout
10+
811
jobs:
912
release:
1013
runs-on: ubuntu-latest
@@ -39,4 +42,4 @@ jobs:
3942
env:
4043
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4144
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42-
run: bun run release
45+
run: npm run release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build:esm": "tsc -p tsconfig.esm.json",
1818
"prepare": "npm run build",
1919
"packGithubBuild": "rm -rf ./microstream-client.tar.gz && tar -cvzf microstream-client.tar.gz dist CHANGELOG.md README.md LICENSE CONTRIBUTING.md package.json",
20-
"release": "npm run build && npm run packGithubBuild && semantic-release",
20+
"release": "npm run packGithubBuild && semantic-release",
2121
"commit": "cz",
2222
"test": "jest"
2323
},

release.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = {
2323
changelogFile: "CHANGELOG.md",
2424
},
2525
],
26+
"@semantic-release/npm", // Add this for the Client SDK only
2627
[
2728
"@semantic-release/github",
2829
{
@@ -43,6 +44,5 @@ module.exports = {
4344
"chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
4445
},
4546
],
46-
"@semantic-release/npm", // Add this for the Client SDK only
4747
],
4848
};

0 commit comments

Comments
 (0)