Skip to content

Commit

Permalink
Restore changes to tarball.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbvaughan committed Jul 10, 2024
1 parent 8d399c6 commit c41b736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prebuild/tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ FILENAME=$(
const tagName = p.env.UPLOAD_TO || p.env.CANVAS_VERSION_TO_BUILD;
console.log('canvas-' + tagName + '-napi-v7-' + p.platform + libc + '-' + p.arch);
"
).tar.gz
).tar.gz;

# Zip up the release
tar -czvf $FILENAME build

if [ $? -ne 0 ]; then
echo "failed to make tarball $FILENAME from node-canvas/build"
exit 1
exit 1;
else
echo "::set-output name=asset_name::$FILENAME"
fi

0 comments on commit c41b736

Please sign in to comment.