Skip to content

Commit 4793263

Browse files
committed
fix: npm publish on tags
1 parent 27fe6b8 commit 4793263

4 files changed

Lines changed: 3 additions & 158 deletions

File tree

.github/workflows/.publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
run: npm run check-version ${{ inputs.expectedVersion }} ${{ inputs.package }}
4141

4242
- name: Build
43-
run: cd packages/${{ inputs.package }} && npm run build
43+
run: npm run build --workspace=@workflowai/${{ inputs.package }}
4444

4545
- name: Publish to NPM
46-
run: npx tsx ./bin/npm-publish --tag=${{ inputs.tag }}
46+
run: npm publish --tag=${{ inputs.tag }} --workspace=@workflowai/${{ inputs.package }} --loglevel=error
4747
env:
4848
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/manual_publish.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

bin/npm-publish.ts

Lines changed: 0 additions & 117 deletions
This file was deleted.

packages/workflowai/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// DO NOT EDIT: file is generated by build process
2-
export const PACKAGE_VERSION = '1.6.5-dev.1';
2+
export const PACKAGE_VERSION = '1.6.5';

0 commit comments

Comments
 (0)