8000 ci(release): publish the tarballs by ./ path, not GitHub shorthand (v3) by adityamukho · Pull Request #11 · project-minigraf/minigraf-wasm · GitHub
[go: up one dir, main page]

Skip to content
Merged
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
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ jobs:
PACKAGE: ${{ matrix.package }}
VERSION: ${{ needs.prepare.outputs.semver }}
run: |
TGZ="dist/minigraf-$PACKAGE-$VERSION.tgz"
# "./": npm reads a bare "dist/x.tgz" as GitHub shorthand (user/repo).
TGZ="./dist/minigraf-$PACKAGE-$VERSION.tgz"
[ -f "$TGZ" ] || { echo "::error::no $TGZ"; ls dist; exit 1; }
if [ "$(npm view "@minigraf/$PACKAGE@$VERSION" version 2>/dev/null)" = "$VERSION" ]; then
echo "::warning::@minigraf/$PACKAGE@$VERSION is already on npm; skipping"
Expand Down
Loading
0