Skip to content

Publish the tarball by a ./ path - #28

Merged
tomasr78 merged 1 commit into
mainfrom
fix/publish-path
Oct 20, 2026
Merged

tomasr78 merged 1 commit into
mainfrom
fix/publish-path

Conversation

@tomasr78

Copy link
Copy Markdown
Contributor

The v1.1.10 publish (https://github.com/ConvertAPI/convertapi-library-js/actions/runs/39426331326) failed at npm publish "out/convertapi-js-1.1.10.tgz": npm reads an owner/repo-shaped spec as a GitHub shorthand and ran git ls-remote ssh://git@github.com/out/convertapi-js-1.1.10.tgz.git. Prefixing ./ makes it a local file. Same fix as ConvertAPI/convertapi-library-node#107.

Everything before the upload passed (publisher check, version, build, tests, package check), so after merge the v1.1.10 publish run is re-run.

🤖 Generated with Claude Code

…b shorthand

npm publish "out/convertapi-js-1.1.10.tgz" failed: npm treats "owner/repo"-shaped
specs as GitHub repos and tried git ls-remote ssh://git@github.com/out/... (v1.1.10
publish run 39426331326). Same fix as convertapi-library-node#107.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 20, 2026 12:58
@tomasr78
tomasr78 merged commit b21652f into main Oct 20, 2026
5 checks passed
@tomasr78
tomasr78 deleted the fix/publish-path branch October 20, 2026 12:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The recovery plan must change because rerunning the failed release uses the original workflow without this fix.

1 open issue
What changed in this PR

Corrects npm publishing so the packaged tarball is treated as a local file rather than a GitHub repository shorthand.

Changes:

  • Prefixes the tarball path with ./, leaving publish flags unchanged.
File Description
.github/​workflows/​publish.yml Makes the npm publish tarball path explicitly local.

Review effort: Balanced

VERSION: ${{ steps.tag.outputs.version }}
DIST_TAG: ${{ steps.tag.outputs.dist-tag }}
run: npm publish "out/$PACKAGE-$VERSION.tgz" --provenance --access public --tag "$DIST_TAG" --ignore-scripts
run: npm publish "./out/$PACKAGE-$VERSION.tgz" --provenance --access public --tag "$DIST_TAG" --ignore-scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants