Skip to content

Commit

Permalink
fix: semantic release remove patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Jun 6, 2023
1 parent 22e00e8 commit 33150e5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/release.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
const shouldPublishNpm = Boolean(Number(process.env.PUBLISH_PACKAGE) || 0);
const workingDir = process.env.SEMANTIC_WORKING_DIR;
const rootDir = process.env.SEMANTIC_ROOT_DIR;

/**
* This is root config for microservices
Expand All @@ -24,8 +22,7 @@ module.exports = {
{
publishCmd:
'zip -r build.zip lib' +
` && cd ${rootDir} npx @lomray/microservices-cli patch-package-version --dir ${workingDir} ` +
' --package-version ${nextRelease.version}',
'echo "${nextRelease.version}" > .version',
},
],
...(shouldPublishNpm ? [[
Expand Down

0 comments on commit 33150e5

Please sign in to comment.