Skip to content

Commit ffe33cf

Browse files
committed
chore: test with npm pack
1 parent 7b8f317 commit ffe33cf

File tree

10 files changed

+16
-19
lines changed

10 files changed

+16
-19
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,6 @@ jobs:
8888
if: startsWith(github.ref, 'refs/tags/v')
8989
uses: ncipollo/release-action@v1
9090
with:
91-
artifacts: "*.tar.*"
92-
artifactContentType: application/x-xz
91+
artifacts: "dist/*.tar.*"
9392
bodyFile: release-notes.md
94-
draft: true
95-
# prerelease: ${{ contains(github.ref, '-rc') }}
96-
# makeLatest: ${{ !contains(github.ref, '-rc') }}
97-
# - name: Publish npm packages
98-
# if: startsWith(github.ref, 'refs/tags/v')
99-
# run: cd npm && npm publish --workspaces --tag=${{ contains(github.ref, '-rc') && 'next' || 'latest' }}
93+
draft: true

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips-darwin-arm64",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Prebuilt libvips and dependencies for use with sharp on macOS 64-bit ARM",
55
"author": "Lovell Fuller <npm@lovell.info>",
66
"homepage": "https://sharp.pixelplumbing.com",

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips-darwin-x64",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Prebuilt libvips and dependencies for use with sharp on macOS x64",
55
"author": "Lovell Fuller <npm@lovell.info>",
66
"homepage": "https://sharp.pixelplumbing.com",

npm/dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips-dev",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
55
"author": "Lovell Fuller <npm@lovell.info>",
66
"homepage": "https://sharp.pixelplumbing.com",

npm/linux-arm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips-linux-arm",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Prebuilt libvips and dependencies for use with sharp on Linux (glibc) 32-bit ARM",
55
"author": "Lovell Fuller <npm@lovell.info>",
66
"homepage": "https://sharp.pixelplumbing.com",

npm/linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips-linux-arm64",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Prebuilt libvips and dependencies for use with sharp on Linux (glibc) 64-bit ARM",
55
"author": "Lovell Fuller <npm@lovell.info>",
66
"homepage": "https://sharp.pixelplumbing.com",

npm/linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips-linux-x64",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Prebuilt libvips and dependencies for use with sharp on Linux (glibc) x64",
55
"author": "Lovell Fuller <npm@lovell.info>",
66
"homepage": "https://sharp.pixelplumbing.com",

npm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"private": "true",
55
"workspaces": [
66
"dev",

npm/win32-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@img/sharp-libvips-win32-x64",
3-
"version": "1.2.6",
3+
"version": "1.2.7",
44
"description": "Prebuilt libvips and dependencies for use with sharp on Windows x64",
55
"author": "Lovell Fuller <npm@lovell.info>",
66
"homepage": "https://sharp.pixelplumbing.com",

package-npm-packages.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ ls -la
55
cd npm
66
ls -la
77

8-
for dir in */; do
9-
[ -d "$dir" ] && tar -cvzf "../sharp-libvips-${dir%/}-1.2.6.tar.gz" -C "$dir" .
10-
done
8+
npm pack --workspaces --pack-destination=../dist
9+
10+
11+
# for dir in */; do
12+
# [ -d "$dir" ] && tar -cvzf "../sharp-libvips-${dir%/}-1.2.7.tar.gz" -C "$dir" .
13+
# done

0 commit comments

Comments
 (0)