Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,14 @@ jobs:

- name: Publish to NPM (next dist-tag)
if: inputs.release_type == 'preliminary' && !inputs.dry_run
run: npm publish --tag next --provenance --access public
run: npm publish --tag next --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}

- name: Pack npm tarball
if: inputs.release_type == 'preliminary' && !inputs.dry_run
run: npm pack

- name: Create pre-release via JReleaser
if: inputs.release_type == 'preliminary' && !inputs.dry_run
uses: jreleaser/release-action@v2
Expand Down Expand Up @@ -94,6 +98,10 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}

- name: Pack npm tarball
if: inputs.release_type == 'final' && !inputs.dry_run
run: npm pack

- name: Create release via JReleaser
if: inputs.release_type == 'final' && !inputs.dry_run
uses: jreleaser/release-action@v2
Expand Down
2 changes: 1 addition & 1 deletion jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ distributions:
operaton-mcp:
type: FLAT_BINARY
artifacts:
- path: '{{projectName}}-{{projectVersion}}.tgz'
- path: 'operaton-operaton-mcp-{{projectVersion}}.tgz'