Skip to content

Commit

Permalink
fix: glob pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 committed Aug 21, 2023
1 parent f73dbba commit 2f85058
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,20 +164,16 @@ if (manifestExists && GITHUB_REF === "refs/heads/main") {
});
}

const packageFilesPrefix = process.env.NPM_PACKAGE_ROOT ? `${process.env.NPM_PACKAGE_ROOT}/` : "";
addPlugin("@semantic-release/git", {
"assets": [
"LICENSE*",
"CHANGELOG.md",
"package.json",
"package-lock.json",
"npm-shrinkwrap.json",
"yarn.lock",
"pnpm-lock.yaml",
"**/package.json",
"**/package-lock.json",
"**/npm-shrinkwrap.json",
"**/yarn.lock",
"**/pnpm-lock.yaml",
`${packageFilesPrefix}package.json`,
`${packageFilesPrefix}package-lock.json`,
`${packageFilesPrefix}npm-shrinkwrap.json`,
`${packageFilesPrefix}yarn.lock`,
`${packageFilesPrefix}pnpm-lock.yaml`,
"public/**/*",
"supabase/**/*",
"action.yml",
Expand Down

0 comments on commit 2f85058

Please sign in to comment.