diff --git a/prebuild/tarball.sh b/prebuild/tarball.sh index 93332ed89..20aaa0b89 100644 --- a/prebuild/tarball.sh +++ b/prebuild/tarball.sh @@ -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