Skip to content

Commit 10c6a4e

Browse files
committed
feat: npm workspace publish fix
1 parent cf35636 commit 10c6a4e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

packages/ghost-graphql-ci-tools/src/bin/publish-packages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const run = async () => {
77
console.log('⌛ version, git commit and push...');
88

99
// @TODO - dynamically pull from somewhere (maybe utilize conventional commits)
10-
npm.version({ versionType: 'major' });
10+
npm.version({ versionType: 'patch' });
1111

1212
git.push();
1313
console.log('✅ version, git commit and push completed');

packages/ghost-graphql-ci-tools/src/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const add = () => {
2020
};
2121

2222
export const commit = (message: string) => {
23-
shell(`git commit -am '${message} (skip ci)'`);
23+
shell(`git commit -am '${message}'`);
2424
};
2525

2626
export const push = () => {

packages/ghost-graphql-ci-tools/src/npm.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import shell from './shell';
22

33
export const publish = () => {
44
shell(
5-
`npm publish --workspace=@foo-software/ghost-graphql --workspace=@foo-software/ghost-graphql-server ` +
6-
`--message 'chore: tag % (skip ci)'`
5+
`npm publish --workspace=@foo-software/ghost-graphql --workspace=@foo-software/ghost-graphql-server `
76
);
87
};
98

0 commit comments

Comments
 (0)