Skip to content

Commit

Permalink
Merge pull request #39 from SuperViz/fix/semmantic-release-packages
Browse files Browse the repository at this point in the history
fix: run build with turbo task
  • Loading branch information
carlossantos74 authored Oct 3, 2024
2 parents 1fc233e + c9240ff commit 0750af8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/semantic-release-version-file/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ const createFile = (version) => {
const filename = '.version.js';
const content = `export const version = '${version}'`;
fs.writeFileSync(filename, content);

console.log('Current folder:', process.cwd());
}

const build = () => {
exec('pnpm run build', (err, stdout, stderr) => {
exec('pnpm turbo run build', (err, stdout, stderr) => {
if (err) {
console.error('build package error: ', err);
return;
Expand Down

0 comments on commit 0750af8

Please sign in to comment.