Skip to content

Commit

Permalink
fix(package.json & release.config.cjs): fixed the GitHub Build Label,…
Browse files Browse the repository at this point in the history
… Name issue

- Fixed the Label of GitHub Release in release.config.cjs for semantic-release
- Fixed the Name of
GitHub Release in release.config.cjs for semantic-release
- Fix the Build File Name in package.json
Build Scripts

fix #2
  • Loading branch information
arijitcodes committed Nov 7, 2023
1 parent f014d23 commit 449c16a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"build": "tsc -p .",
"build:dual": "rm -rf ./dist && tsc -b ./tsconfig-esm.json ./tsconfig-cjs.json && node ./scripts/prepare-package-jsons.cjs",
"build:tsup": "rm -rf ./dist && tsup",
"packGithubBuild": "rm -rf ./build.tar.gz && tar -cvzf build.tar.gz dist CHANGELOG.md package.json",
"packGithubBuild": "rm -rf ./UltraLogger.tar.gz && tar -cvzf UltraLogger.tar.gz dist CHANGELOG.md package.json",
"prepare": "npm run build:dual",
"semantic-release": "npm run packGithubBuild && semantic-release"
},
Expand Down
6 changes: 3 additions & 3 deletions release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ module.exports = {
"@semantic-release/github",
{
assets: {
path: "./build.tar.gz",
name: "@arijitcodes-test-semantic-release_v${nextRelease.version}.tgz",
label: "Build v${nextRelease.version}",
path: "./UltraLogger.tar.gz",
name: "UltraLogger_v${nextRelease.version}.tgz",
label: "UltraLogger Build v${nextRelease.version}",
},
},
],
Expand Down

0 comments on commit 449c16a

Please sign in to comment.